use doAssert in tests (#16486)

This commit is contained in:
flywind 2020-12-28 07:13:21 -06:00 • committed by GitHub
commit 6d442a40a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
78 changed files with 1056 additions and 1056 deletions

View file

@ -1,9 +1,9 @@
# test the valid literals
assert 0b10 == 2
assert 0B10 == 2
assert 0x10 == 16
assert 0X10 == 16
assert 0o10 == 8
doAssert 0b10 == 2
doAssert 0B10 == 2
doAssert 0x10 == 16
doAssert 0X10 == 16
doAssert 0o10 == 8
# the following is deprecated:
assert 0c10 == 8
assert 0C10 == 8
doAssert 0c10 == 8
doAssert 0C10 == 8