diff options
Diffstat (limited to 'test/-ext-')
-rw-r--r-- | test/-ext-/st/test_update.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/-ext-/st/test_update.rb b/test/-ext-/st/test_update.rb index 68fee0b751..68625af428 100644 --- a/test/-ext-/st/test_update.rb +++ b/test/-ext-/st/test_update.rb @@ -10,9 +10,8 @@ class Bug::StTable end def test_notfound - called = false - assert_equal(false, @tbl.st_update(:c) {called = true}) - assert_equal(false, called) + assert_equal(false, @tbl.st_update(:c) {42}) + assert_equal({a: 1, b: 2, c: 42}, @tbl) end def test_continue |