aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/SkSLErrorTest.cpp
diff options
context:
space:
mode:
authorGravatar fmalita <fmalita@google.com>2016-09-30 08:05:24 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-30 08:05:24 -0700
commitd214d6ae69c1dd9ef49fdce8fac699d00bffcdcd (patch)
tree96deebd7874fe2960416042011a999455d4f82e2 /tests/SkSLErrorTest.cpp
parentbc34404dc3feb4dac854aa43825646dd01139ccb (diff)
Revert of Turned on SkSL->GLSL compiler (patchset #41 id:880001 of https://codereview.chromium.org/2288033003/ )
Diffstat (limited to 'tests/SkSLErrorTest.cpp')
-rw-r--r--tests/SkSLErrorTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/SkSLErrorTest.cpp b/tests/SkSLErrorTest.cpp
index 400ab6dc57..75fa20d7e3 100644
--- a/tests/SkSLErrorTest.cpp
+++ b/tests/SkSLErrorTest.cpp
@@ -263,8 +263,8 @@ DEF_TEST(SkSLBadIndex, r) {
"void main() { int x = 2[0]; }",
"error: 1: expected array, but found 'int'\n1 error\n");
test_failure(r,
- "void main() { vec2 x = vec2(0); int y = x[0][0]; }",
- "error: 1: expected array, but found 'float'\n1 error\n");
+ "void main() { vec2 x = vec2(0); int y = x[0]; }",
+ "error: 1: expected array, but found 'vec2'\n1 error\n");
}
DEF_TEST(SkSLTernaryMismatch, r) {