mirror of
https://gitea.invidious.io/iv-org/shard-crystal-db.git
synced 2024-08-15 00:53:32 +00:00
Merge pull request #163 from crystal-lang/fix/crystal-1.4
This commit is contained in:
commit
3e9ed7a304
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ describe "DB::Serializable" do
|
|||
end
|
||||
|
||||
it "should fail to initialize a simple model if types do not match" do
|
||||
expect_raises DB::MappingException, "Invalid Int32: b\n deserializing SimpleModel#c0" do
|
||||
expect_raises DB::MappingException, /Invalid Int32: "?b"?\n deserializing SimpleModel#c0/ do
|
||||
from_dummy("b,a", SimpleModel)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue