fix error text test
This commit is contained in:
parent
3817f80dc4
commit
83134f3dbc
@ -13,7 +13,7 @@ func TestLuaError(t *testing.T) {
|
|||||||
Message: "test error",
|
Message: "test error",
|
||||||
}
|
}
|
||||||
|
|
||||||
expected := "lua error (code=123): test error"
|
expected := "test error (code=123)"
|
||||||
if err.Error() != expected {
|
if err.Error() != expected {
|
||||||
t.Errorf("Expected error message %q, got %q", expected, err.Error())
|
t.Errorf("Expected error message %q, got %q", expected, err.Error())
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user