Git Product home page Git Product logo

Comments (3)

maciejbak85 avatar maciejbak85 commented on June 28, 2024

"MaybeQuotedValueKeyValueHandler" should {
val underlying = mock[KeyValueHandler]
val handler = new MaybeQuotedValueKeyValueHandler(underlying)
"only parse quoted values" in {
handler("foo", ""baz"")
handler("foo", " "baz" ")
handler("foo" , "baz")
// doesn't trim for unquoted values
handler("foo" , " baz ")
there were 3.times(underlying).apply("foo", "baz")
there was one(underlying).apply("foo", " baz ")
there were 4.times(underlying).apply(any, any)
}

}

this one is failing, with out it it compiles. Dunno what to change here ;)

from joauth.

kevinoliver avatar kevinoliver commented on June 28, 2024

At some point we will upgrade joauth to scala 2.10.

If you want to try to get this to work in a fork, my guess is that the issue is with the specs dependency.

      <groupId>org.scala-tools.testing</groupId>
      <artifactId>specs_2.9.1</artifactId>
      <version>1.6.9</version>
      <scope>test</scope>

You probably need to use a specs_2.10 version.

from joauth.

maciejbak85 avatar maciejbak85 commented on June 28, 2024

I use specs 2.10.

org.scala-lang
scala-library
2.10.2

Here is whole xml well formatted:
https://gist.github.com/daaatz/6338795

Please reopen this issue.
Thanks

from joauth.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.