diff options
Diffstat (limited to 'tests/SkSLErrorTest.cpp')
-rw-r--r-- | tests/SkSLErrorTest.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/SkSLErrorTest.cpp b/tests/SkSLErrorTest.cpp index a33e6f16e6..9c34ab41fb 100644 --- a/tests/SkSLErrorTest.cpp +++ b/tests/SkSLErrorTest.cpp @@ -134,7 +134,10 @@ DEF_TEST(SkSLConstructorArgumentCount, r) { "void main() { vec3 x = vec3(1.0, 2.0); }", "error: 1: invalid arguments to 'vec3' constructor (expected 3 scalars, but " "found 2)\n1 error\n"); - test_success(r, "void main() { vec3 x = vec3(1.0, 2.0, 3.0, 4.0); }"); + test_failure(r, + "void main() { vec3 x = vec3(1.0, 2.0, 3.0, 4.0); }", + "error: 1: invalid arguments to 'vec3' constructor (expected 3 scalars, but found " + "4)\n1 error\n"); } DEF_TEST(SkSLSwizzleScalar, r) { |