From 44a8d86d8a02823e59baa628ebbb94b89de1f535 Mon Sep 17 00:00:00 2001 From: Alex Orlenko Date: Tue, 23 Aug 2022 23:08:00 +0100 Subject: [PATCH] Fix error message in tests (luau) --- tests/luau.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/luau.rs b/tests/luau.rs index 3e78fe0..3d1117b 100644 --- a/tests/luau.rs +++ b/tests/luau.rs @@ -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