MCPcopy Index your code
hub / github.com/bazelbuild/bazel / check

Method check

src/test/java/net/starlark/java/syntax/LexerTest.java:121–124  ·  view source on GitHub ↗
(String src, String wantTokens)

Source from the content-addressed store, hash-verified

119 // Scans src, and asserts that the tokens match wantTokens
120 // and that there are no errors.
121 private void check(String src, String wantTokens) {
122 assertThat(values(tokens(src))).isEqualTo(wantTokens);
123 assertThat(errors).isEmpty();
124 }
125
126 // Scans src, and asserts that the tokens match wantTokens
127 // and the errors match wantErrors.

Callers 15

testBasics3Method · 0.95
testBasics4Method · 0.95
testCrLfMethod · 0.95
testIntegersMethod · 0.95
testNumbersAndDotMethod · 0.95
testStringDelimitersMethod · 0.95
testQuotesInStringsMethod · 0.95
testStringEscapesMethod · 0.95
testRawStringMethod · 0.95
testTripleRawStringMethod · 0.95

Calls 3

valuesMethod · 0.95
tokensMethod · 0.95
isEmptyMethod · 0.45

Tested by

no test coverage detected