We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dc68c8 commit 4e8bff8Copy full SHA for 4e8bff8
core/shared/src/test/scala/org/virtuslab/yaml/BaseYamlSuite.scala
@@ -21,7 +21,7 @@ trait BaseYamlSuite extends munit.FunSuite {
21
case Right(tokens) => assertEquals(tokens, expectedTokens)
22
}
23
24
- implicit class StringOps(val yaml: String) {
+ implicit class InternalStringOps(val yaml: String) {
25
def events: Either[YamlError, List[EventKind]] = {
26
val tokenizer = Tokenizer.make(yaml)
27
ParserImpl(tokenizer).getEvents().map(_.map(_.kind))
@@ -38,8 +38,6 @@ trait BaseYamlSuite extends munit.FunSuite {
38
loop(Nil)
39
40
41
- def asNode: Either[YamlError, Node] = new org.virtuslab.yaml.StringOps(yaml).asNode
42
-
43
def debugTokens: Unit = pprint.pprintln(tokens)
44
45
0 commit comments