mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
tests: s/assertEquals/assertEqual/
Assert assertEquals is deprecated alias of assertEqual.
This commit is contained in:
parent
c69a98057f
commit
6b0ad94fb4
@ -285,7 +285,7 @@ comment: {standard_bottom_comment}
|
|||||||
"""Test running with no arguments at all."""
|
"""Test running with no arguments at all."""
|
||||||
result = self.runMkenums()
|
result = self.runMkenums()
|
||||||
self.assertEqual('', result.err)
|
self.assertEqual('', result.err)
|
||||||
self.assertEquals('''/* {standard_top_comment} */
|
self.assertEqual('''/* {standard_top_comment} */
|
||||||
|
|
||||||
|
|
||||||
/* {standard_bottom_comment} */'''.format(**result.subs),
|
/* {standard_bottom_comment} */'''.format(**result.subs),
|
||||||
@ -295,7 +295,7 @@ comment: {standard_bottom_comment}
|
|||||||
"""Test running with an empty template and no header files."""
|
"""Test running with an empty template and no header files."""
|
||||||
result = self.runMkenumsWithTemplate('')
|
result = self.runMkenumsWithTemplate('')
|
||||||
self.assertEqual('', result.err)
|
self.assertEqual('', result.err)
|
||||||
self.assertEquals('''/* {standard_top_comment} */
|
self.assertEqual('''/* {standard_top_comment} */
|
||||||
|
|
||||||
|
|
||||||
/* {standard_bottom_comment} */'''.format(**result.subs),
|
/* {standard_bottom_comment} */'''.format(**result.subs),
|
||||||
@ -305,7 +305,7 @@ comment: {standard_bottom_comment}
|
|||||||
"""Test running with a complete template, but no header files."""
|
"""Test running with a complete template, but no header files."""
|
||||||
result = self.runMkenumsWithAllSubstitutions()
|
result = self.runMkenumsWithAllSubstitutions()
|
||||||
self.assertEqual('', result.err)
|
self.assertEqual('', result.err)
|
||||||
self.assertEquals('''
|
self.assertEqual('''
|
||||||
comment
|
comment
|
||||||
comment: {standard_top_comment}
|
comment: {standard_top_comment}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user