Fix error message in tests (luau)

This commit is contained in:
Alex Orlenko 2022-08-23 23:08:00 +01:00
parent 33278d4a64
commit 44a8d86d8a
No known key found for this signature in database
GPG key ID: 4C150C250863B96D

View file

@ -81,7 +81,7 @@ fn test_readonly_table() -> Result<()> {
assert!(t.is_readonly());
match t.set("key", "value") {
Err(Error::RuntimeError(err)) if err.contains("Attempt to modify a readonly table") => {}
Err(Error::RuntimeError(err)) if err.contains("attempt to modify a readonly table") => {}
r => panic!(
"expected RuntimeError(...) with a specific message, got {:?}",
r