diff --git a/crates/nu-utils/standard_library/test_asserts.nu b/crates/nu-utils/standard_library/test_asserts.nu index 43f716685..1c1dc30c8 100644 --- a/crates/nu-utils/standard_library/test_asserts.nu +++ b/crates/nu-utils/standard_library/test_asserts.nu @@ -11,13 +11,13 @@ export def test_assert_equal [] { assert equal (1 + 2) 3 assert equal (0.1 + 0.2 | into string | into decimal) 0.3 # 0.30000000000000004 == 0.3 assert error { assert equal 1 "foo" } - assert error { assert equal (1 + 2) "4)" } + assert error { assert equal (1 + 2) 4 } } export def test_assert_not_equal [] { assert not equal (1 + 2) 4 assert not equal 1 "foo" - assert not equal (1 + 2) "3)" + assert not equal (1 + 2) "3" assert error { assert not equal 1 1 } }