mirror of
https://gitea.invidious.io/iv-org/shard-crystal-db.git
synced 2024-08-15 00:53:32 +00:00
Fix specs for Crystal 1.4.0
The format of string conversion error messages was changed in https://github.com/crystal-lang/crystal#11883
This commit is contained in:
parent
e3f1a308b4
commit
c8a0849423
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