diff --git a/remix-tests/tests/examples_3/simple_string_test.sol b/remix-tests/tests/examples_3/simple_string_test.sol index 9bcc562167..f1f62cf33c 100644 --- a/remix-tests/tests/examples_3/simple_string_test.sol +++ b/remix-tests/tests/examples_3/simple_string_test.sol @@ -12,8 +12,8 @@ contract StringTest { return Assert.equal(foo.get(), "Hello world!", "initial value is not correct"); } - function valueShouldNotBeHelloWorld() public returns (bool) { - return Assert.notEqual(foo.get(), "Hello wordl!", "initial value is not correct"); + function valueShouldNotBeHelloWordl() public returns (bool) { + return Assert.notEqual(foo.get(), "Hello wordl!", "value should not be hello world"); } function valueShouldBeHelloWorld() public returns (bool) { diff --git a/remix-tests/tests/testRunner.js b/remix-tests/tests/testRunner.js index 3b5dc673f6..092052fb7f 100644 --- a/remix-tests/tests/testRunner.js +++ b/remix-tests/tests/testRunner.js @@ -134,8 +134,8 @@ describe('testRunner', function () { it('should returns 3 messages', function () { assert.deepEqual(tests, [ { type: 'contract', value: 'StringTest', filename: 'tests/examples_3/simple_string_test.sol' }, - { type: 'testFailure', value: 'Value should be hello world', time: 1, context: 'StringTest', "errMsg": "function returned false" }, - { type: 'testPass', value: 'Value should not be hello world', time: 1, context: 'StringTest' }, + { type: 'testFailure', value: 'Value should be hello world', time: 1, context: 'StringTest', "errMsg": "initial value is not correct" }, + { type: 'testPass', value: 'Value should not be hello wordl', time: 1, context: 'StringTest' }, { type: 'testPass', value: 'Initial value should be hello', time: 1, context: 'StringTest' }, ]) })