commit | 8f4f9a8431196e90af1d481e0662fa41011907c0 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Sep 11 20:35:03 2013 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Sep 11 20:35:03 2013 |
tree | d675b61800d71c86c7551ada9e32d1fc6036a718 | |
parent | 7aa11da5ea062e8b55dce4d8a13f9d5610edfe5e [diff] [blame] |
gn: test and fix for swapped -= operator [email protected] Review URL: https://chromiumcodereview.appspot.com/23484029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222619 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/tools/gn/parser_unittest.cc b/tools/gn/parser_unittest.cc index 06464a2..7ef5ff6 100644 --- a/tools/gn/parser_unittest.cc +++ b/tools/gn/parser_unittest.cc
@@ -475,3 +475,7 @@ TEST(Parser, HangingIf) { DoParserErrorTest("if", 1, 1); } + +TEST(Parser, NegatingList) { + DoParserErrorTest("executable(\"wee\") { sources =- [ \"foo.cc\" ] }", 1, 30); +}