Skip to content

Added a test in shell#443

Merged
jlu5 merged 2 commits intoillacceptanything:masterfrom
luthfianto:master
Apr 8, 2015
Merged

Added a test in shell#443
jlu5 merged 2 commits intoillacceptanything:masterfrom
luthfianto:master

Conversation

@luthfianto
Copy link
Copy Markdown
Contributor

Actually I'm not sure of this one

@luthfianto luthfianto mentioned this pull request Apr 8, 2015
@progval
Copy link
Copy Markdown
Contributor

progval commented Apr 8, 2015

Please parse the JSON file instead of just comparing it to '[]'.
An empty list may be serialized as '[ ]' as well.

(see #346)

@luthfianto
Copy link
Copy Markdown
Contributor Author

@progval oh cool now I know the reason why

@progval
Copy link
Copy Markdown
Contributor

progval commented Apr 8, 2015

The reason of what?

@luthfianto
Copy link
Copy Markdown
Contributor Author

To parse the json first

@progval
Copy link
Copy Markdown
Contributor

progval commented Apr 8, 2015

Actually, using s/\s//g and removing newlines should be fine

@luthfianto
Copy link
Copy Markdown
Contributor Author

@progval Thanks for the insights!

jlu5 pushed a commit that referenced this pull request Apr 8, 2015
Added a test in shell
@jlu5 jlu5 merged commit dbc7ed5 into illacceptanything:master Apr 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants