Comply exhaustive case check

Comply exhaustive case check
This commit is contained in:
Brian J. Cardiff 2020-04-02 12:34:15 -03:00
parent f08a4da60a
commit af200eac54
2 changed files with 4 additions and 0 deletions

View file

@ -246,6 +246,8 @@ describe DummyDriver do
rs.read(Int64, Int64).should eq({3i64, 4i64})
when 1
rs.read(Int64, Int64).should eq({1i64, 2i64})
else
raise "unreachable"
end
i += 1
end

View file

@ -505,6 +505,8 @@ module DB
end
end
end
else
raise "Invalid prepared value. Allowed values are :both and :default"
end
end
end