Permalink
Browse files

Cleaned up a spec

  • Loading branch information...
dpp committed Aug 27, 2012
1 parent 0b6145e commit 2674d4af4d52424802ed0bf5d081788d73be95a4
Showing with 3 additions and 3 deletions.
  1. +3 −3 web/webkit/src/test/scala/net/liftweb/http/SHtmlSpec.scala
@@ -27,9 +27,9 @@ object SHtmlSpec extends Specification {
val html1= <span><input id="number"></input></span>
- val inputField1= testS("/")( ("#number" #> SHtml.number(0, println(_), 0, 100))(html1) )
- val inputField2= testS("/")( ("#number" #> SHtml.number(0, println(_: Double), 0, 100, 0.1))(html1) )
- val inputField3= testS("/")( ("#number" #> SHtml.number(0, println(_: Double), 0, 100, 1))(html1) )
+ val inputField1= testS("/")( ("#number" #> SHtml.number(0, println(_), 0, 100)).apply(html1) )
+ val inputField2= testS("/")( ("#number" #> SHtml.number(0, println(_: Double), 0, 100, 0.1)).apply(html1) )
+ val inputField3= testS("/")( ("#number" #> SHtml.number(0, println(_: Double), 0, 100, 1)).apply(html1) )
"SHtml" should {
"create a number input field" in {

0 comments on commit 2674d4a

Please sign in to comment.