Index: build/check_gn_headers_unittest.py |
diff --git a/build/check_gn_headers_unittest.py b/build/check_gn_headers_unittest.py |
index f62fe62309548d5c53803a0e2c6791e29c7cb668..7272ea960640f8fb3d85f76eabbd5810ec2695f4 100755 |
--- a/build/check_gn_headers_unittest.py |
+++ b/build/check_gn_headers_unittest.py |
@@ -58,7 +58,7 @@ |
class CheckGnHeadersTest(unittest.TestCase): |
def testNinja(self): |
- headers = check_gn_headers.ParseNinjaDepsOutput(ninja_input.split('\n')) |
+ headers = check_gn_headers.ParseNinjaDepsOutput(ninja_input) |
expected = set([ |
'dir/path/b.h', |
'c.hh', |
@@ -71,8 +71,7 @@ |
old_sep = os.sep |
os.sep = '\\' |
- headers = check_gn_headers.ParseNinjaDepsOutput( |
- ninja_input_win.split('\n')) |
+ headers = check_gn_headers.ParseNinjaDepsOutput(ninja_input_win) |
expected = set([ |
'dir\\path\\b.h', |
'c.hh', |