Fix unit test for Disabler()

This commit is contained in:
Xavier Claessens 2018-04-09 12:41:22 -04:00 committed by Jussi Pakkanen
parent e9860cff41
commit b216f03a01
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ else
number = 2 number = 2
endif endif
assert(d == 0, 'Plain if handled incorrectly, value should be 0 but is @0@'.format(number)) assert(number == 0, 'Plain if handled incorrectly, value should be 0 but is @0@'.format(number))
if d.found() if d.found()
number = 1 number = 1
@ -29,6 +29,6 @@ else
number = 2 number = 2
endif endif
assert(d == 1, 'If found handled incorrectly, value should be 1 but is @0@'.format(number)) assert(number == 2, 'If found handled incorrectly, value should be 2 but is @0@'.format(number))