Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
On Thursday, 7th July from 1 to 3 pm there will be a maintenance with a short downtime of GitLab.
Open sidebar
Markus Scheidgen
parser-exciting
Commits
95299469
Commit
95299469
authored
Apr 08, 2016
by
Mohamed, Fawzi Roberto (fawzi)
Browse files
scalariform
parent
910cca5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/scala/eu/nomad_lab/parsers/ExcitingParserSpec.scala
View file @
95299469
...
...
@@ -2,17 +2,15 @@ package eu.nomad_lab.parsers
import
org.specs2.mutable.Specification
object
ExcitingParserSpec
extends
Specification
{
"ExcitingParserTest"
>>
{
"test with json-events"
>>
{
"test with json-events"
>>
{
//No test file present at the moment; Replace the README when test file is present
ParserRun
.
parse
(
ExcitingParser
,
"parsers/castep/test/examples/README.md"
,
"json-events"
)
must_==
ParseResult
.
ParseSuccess
ParserRun
.
parse
(
ExcitingParser
,
"parsers/castep/test/examples/README.md"
,
"json-events"
)
must_==
ParseResult
.
ParseSuccess
}
}
"test with json"
>>
{
ParserRun
.
parse
(
ExcitingParser
,
"parsers/exciting/test/examples/README.md"
,
"json"
)
must_==
ParseResult
.
ParseSuccess
"test with json"
>>
{
ParserRun
.
parse
(
ExcitingParser
,
"parsers/exciting/test/examples/README.md"
,
"json"
)
must_==
ParseResult
.
ParseSuccess
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment