Skip to content

Commit 320d11f

Browse files
#none: fix typo in docs
1 parent b6996df commit 320d11f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ class SpockExample extends Specification {
340340
true
341341
}
342342
343-
@SnapshotName("should_use_extension_as_mehod_argument")
343+
@SnapshotName("should_use_extension_as_method_argument")
344344
// Option 2: inject Expect into the method signature
345345
def "Should use extension as method argument"(Expect expect) {
346346
when:

java-snapshot-testing-spock/src/test/groovy/au/com/origin/snapshots/docs/SpockExample.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class SpockExample extends Specification {
2222
true
2323
}
2424

25-
@SnapshotName("should_use_extension_as_mehod_argument")
25+
@SnapshotName("should_use_extension_as_method_argument")
2626
// Option 2: inject Expect into the method signature
2727
def "Should use extension as method argument"(Expect expect) {
2828
when:

java-snapshot-testing-spock/src/test/groovy/au/com/origin/snapshots/docs/__snapshots__/SpockExample.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ Hello World
33
]
44

55

6-
should_use_extension_as_mehod_argument=[
6+
should_use_extension_as_method_argument=[
77
Hello World
8-
]
8+
]

0 commit comments

Comments
 (0)