Skip to content

Commit

Permalink
Add @issue tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Scott Brown committed Jul 28, 2015
1 parent 91db2dc commit 069bc12
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
package grails.converters

import spock.lang.Issue
import spock.lang.Specification

class ParsingNullJsonValuesSpec extends Specification {

@Issue('grails/grails-core#9129')
def "test parsing null value"() {
expect:
JSON.parse("{'myList':null}").myList == null
JSON.parse("{'myList':null}").get('myList') == null
}

@Issue('grails/grails-core#9129')
def "test the remove method returns null, not JSONObject.Null"() {
when:
def obj = JSON.parse("{'myList':null}")
Expand Down

0 comments on commit 069bc12

Please sign in to comment.