commit | 46bf88c7e718966f7bafb720543c342d7413ae44 | [log] [tgz] |
---|---|---|
author | Carmi Grushko <carmi@google.com> | Mon Feb 20 22:37:15 2017 +0000 |
committer | Yue Gan <yueg@google.com> | Tue Feb 21 11:48:20 2017 +0000 |
tree | 0207d17da0cc51d0035dffaadd872b8603b11442 | |
parent | 54b9d2c3d514c7023948930a86db88178309149a [diff] [blame] |
parseBuildString doesn't crash on files with hash lines. -- PiperOrigin-RevId: 148042501 MOS_MIGRATED_REVID=148042501
diff --git a/src/test/java/com/google/devtools/build/lib/syntax/SkylarkEvaluationTest.java b/src/test/java/com/google/devtools/build/lib/syntax/SkylarkEvaluationTest.java index c2d6024..0a701e0 100644 --- a/src/test/java/com/google/devtools/build/lib/syntax/SkylarkEvaluationTest.java +++ b/src/test/java/com/google/devtools/build/lib/syntax/SkylarkEvaluationTest.java
@@ -421,7 +421,7 @@ " xs.append(4)", " return ys" // No file name in message, due to how test is set up. - ).testIfErrorContains("Object locked at the following location(s): 4:3, 5:5", "foo()"); + ).testIfErrorContains("Object locked at the following location(s): :4:3, :5:5", "foo()"); } @Test