summaryrefslogtreecommitdiff
path: root/examples_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'examples_test.go')
-rw-r--r--examples_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples_test.go b/examples_test.go
index b4a8086..066ce01 100644
--- a/examples_test.go
+++ b/examples_test.go
@@ -4,7 +4,7 @@ import (
"fmt"
)
-func ExampleCuts() {
+func ExampleCut() {
// without a cut if the close tag is left out the parser will backtrack and ignore the rest of the string
alpha := Chars("a-z")
nocut := Many(Any(Seq("<", alpha, ">"), alpha))