| 24 | using spvtest::TextToBinaryTest; |
| 25 | |
| 26 | TEST_F(TextToBinaryTest, LiteralStringInPlaceOfLiteralNumber) { |
| 27 | EXPECT_EQ( |
| 28 | R"(Invalid unsigned integer literal: "I shouldn't be a string")", |
| 29 | CompileFailure(R"(OpSource GLSL "I shouldn't be a string")")); |
| 30 | } |
| 31 | |
| 32 | TEST_F(TextToBinaryTest, GarbageInPlaceOfLiteralString) { |
| 33 | EXPECT_EQ("Invalid literal string 'nice-source-code'.", |
nothing calls this directly
no test coverage detected