diff --git a/src/test/cc_binary_test.py b/src/test/cc_binary_test.py index 03080b32..a82b789e 100644 --- a/src/test/cc_binary_test.py +++ b/src/test/cc_binary_test.py @@ -33,8 +33,8 @@ def testGenerateRules(self): self.assertCxxFlags(com_string_line) self.assertLinkFlags(string_main_depends_libs) - self.assertIn('liblowercase.a', string_main_depends_libs) - self.assertIn('libuppercase.a', string_main_depends_libs) + self.assertNotIn('liblowercase.a', string_main_depends_libs) + self.assertNotIn('libuppercase.a', string_main_depends_libs) self.assertTrue(self.findCommand(['Hello, world'])) diff --git a/src/test/cc_test_test.py b/src/test/cc_test_test.py index 7a20601e..3fa6a2d6 100644 --- a/src/test/cc_test_test.py +++ b/src/test/cc_test_test.py @@ -35,8 +35,8 @@ def testGenerateRules(self): self.assertCxxFlags(com_string_line) self.assertLinkFlags(string_main_depends_libs) - self.assertIn('liblowercase.a', string_main_depends_libs) - self.assertIn('libuppercase.a', string_main_depends_libs) + self.assertNotIn('liblowercase.a', string_main_depends_libs) + self.assertNotIn('libuppercase.a', string_main_depends_libs) if __name__ == '__main__': diff --git a/src/test/test_target_test.py b/src/test/test_target_test.py index 0ec20a29..ecab27e5 100644 --- a/src/test/test_target_test.py +++ b/src/test/test_target_test.py @@ -34,7 +34,7 @@ def testTestRunnerCorrectly(self): self.assertCxxFlags(com_string_line) self.assertLinkFlags(string_main_depends_libs) - self.assertIn('liblowercase.a', string_main_depends_libs) + self.assertNotIn('liblowercase.a', string_main_depends_libs) if __name__ == '__main__':