Skip to content

Commit e255968

Browse files
paddorlpil
authored andcommitted
fix semantic errors
1 parent 78d6ec6 commit e255968

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snippets/ruby.snippets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,13 +485,13 @@ snippet asnm
485485
snippet aso
486486
assert_operator ${1:left}, :${2:operator}, ${3:right}
487487
snippet asr
488-
assert_raise ${1:Exception} { ${0} }
488+
assert_raise(${1:Exception}) { ${0} }
489489
snippet asrd
490490
assert_raise ${1:Exception} do
491491
${0}
492492
end
493493
snippet asnr
494-
assert_nothing_raised ${1:Exception} { ${0} }
494+
assert_nothing_raised(${1:Exception}) { ${0} }
495495
snippet asnrd
496496
assert_nothing_raised ${1:Exception} do
497497
${0}

0 commit comments

Comments
 (0)