diff --git a/main/tests/server/src/com/google/refine/expr/EvalErrorTests.java b/main/tests/server/src/com/google/refine/expr/EvalErrorTests.java new file mode 100644 index 000000000..3156e3a93 --- /dev/null +++ b/main/tests/server/src/com/google/refine/expr/EvalErrorTests.java @@ -0,0 +1,13 @@ +package com.google.refine.expr; + +import org.testng.annotations.Test; + +import com.google.refine.tests.util.TestUtils; + +public class EvalErrorTests { + @Test + public void serializeEvalError() { + EvalError e = new EvalError("this is a critical error"); + TestUtils.isSerializedTo(e, "{\"type\":\"error\",\"message\":\"This is a critical error\"}"); + } +}