Skip to content

Commit 6de5617

Browse files
committed
Switched to the exception thrown by BufferedTokenizerExt
1 parent c12979a commit 6de5617

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/codecs/json_lines_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
it "should raise an error if the max bytes are exceeded" do
131131
expect {
132132
subject.decode(maximum_payload << "z")
133-
}.to raise_error(RuntimeError, "input buffer full")
133+
}.to raise_error(java.lang.IllegalStateException, "input buffer full")
134134
end
135135
end
136136

0 commit comments

Comments
 (0)