Skip to content

Commit 7289886

Browse files
Brian Savillejeffscottbrown
authored andcommitted
Fix typos and spacing
1 parent b55d2cc commit 7289886

File tree

1 file changed

+27
-26
lines changed

1 file changed

+27
-26
lines changed

grails-test-suite-uber/src/test/groovy/grails/test/mixin/UrlMappingsTestMixinTests.groovy

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -137,24 +137,24 @@ class UrlMappingsTestMixinTests {
137137
}
138138
}
139139
}
140-
141-
@Test
142-
voide testGrails9110() {
143-
mockController(UserController)
144-
mockUrlMappings(GRAILS9110UrlMappings)
145-
shouldfail(ComparisonFailure) {
146-
assertForwardUrlMapping("/user", controller:"user", action:"publicProfile") {
147-
param1 = "true"
148-
}
149-
}
150-
assertForwardUrlMapping("/user", controller:"user", action:"publicProfile") {
151-
boolParam = true
152-
strParam = "string"
153-
numParam = 123
154-
objParam = [test:true]
155-
dateParam = new Date(1)
156-
}
157-
}
140+
141+
@Test
142+
void testGrails9110() {
143+
mockController(UserController)
144+
mockUrlMappings(GRAILS9110UrlMappings)
145+
shouldFail(ComparisonFailure) {
146+
assertForwardUrlMapping("/user", controller:"user", action:"publicProfile") {
147+
param1 = "true"
148+
}
149+
}
150+
assertForwardUrlMapping("/user", controller:"user", action:"publicProfile") {
151+
boolParam = true
152+
strParam = "string"
153+
numParam = 123
154+
objParam = [test:true]
155+
dateParam = new Date(1)
156+
}
157+
}
158158
}
159159

160160
class AnotherUrlMappings {
@@ -200,12 +200,13 @@ class GRAILS5222UrlMappings {
200200
}
201201

202202
class GRAILS9110UrlMappings {
203-
static mappings = {
204-
"/user"(controller:"user", action:"publicProfile") {
205-
boolParam = true
206-
strParam = "string"
207-
numParam = 123
208-
dateParam = new Date(1)
209-
}
210-
}
203+
static mappings = {
204+
"/user"(controller:"user", action:"publicProfile") {
205+
boolParam = true
206+
strParam = "string"
207+
numParam = 123
208+
objParam = [test:true]
209+
dateParam = new Date(1)
210+
}
211+
}
211212
}

0 commit comments

Comments
 (0)