Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferydeng committed Dec 19, 2024
1 parent dc74b58 commit cf00c22
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/test/cc_binary_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']))


Expand Down
4 changes: 2 additions & 2 deletions src/test/cc_test_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__':
Expand Down
2 changes: 1 addition & 1 deletion src/test/test_target_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__':
Expand Down

0 comments on commit cf00c22

Please sign in to comment.