Skip to content

Commit b8e2268

Browse files
committed
Updated unit test
1 parent d0438e8 commit b8e2268

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/com/google/javascript/jscomp/CommandLineRunnerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2638,7 +2638,7 @@ public void testInstrumentCodeProductionCreatesInstrumentationMapping() throws I
26382638
assertThat(variableMapFile.get(0)).startsWith(" FileNames:[");
26392639
assertThat(variableMapFile.get(0)).endsWith("sourceCode.js]");
26402640
assertThat(variableMapFile.get(1)).isEqualTo(" FunctionNames:[foo]");
2641-
assertThat(variableMapFile.get(2)).isEqualTo(" Types:[Type.FUNCTION]");
2641+
assertThat(variableMapFile.get(2)).isEqualTo(" Types:[FUNCTION]");
26422642
assertThat(variableMapFile.get(3)).isEqualTo("C:AAA");
26432643
}
26442644

test/com/google/javascript/jscomp/integration/ProductionCoverageInstrumentationPassIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ public void testInstrumentationMappingIsCreated() {
352352
.isEqualTo("[i1.js]");
353353
assertWithMessage("Types in the parameter mapping are not properly set")
354354
.that(paramMap.get(" Types"))
355-
.isEqualTo("[Type.FUNCTION]");
355+
.isEqualTo("[FUNCTION]");
356356
assertWithMessage("Array index encoding is not performed properly")
357357
.that(paramMap.get("C"))
358358
.isEqualTo("AAA");

0 commit comments

Comments
 (0)