Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yaml-cpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
yaml-cpp
Commits
a5607f82
Commit
a5607f82
authored
Oct 29, 2009
by
Jesse Beder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added test
parent
f4c683ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
test/spectests.cpp
+13
-5
No files found.
test/spectests.cpp
View file @
a5607f82
...
...
@@ -459,7 +459,7 @@ namespace Test {
return
true
;
}
// TODO: 2.19 - 2.22 tags
// TODO: 2.19 - 2.22
schema
tags
// 2.23
TEST
VariousExplicitTags
()
...
...
@@ -765,7 +765,16 @@ namespace Test {
return
true
;
}
// TODO: 5.5 comment only
// 5.5
TEST
CommentIndicator
()
{
std
::
string
input
=
"# Comment only."
;
PARSE
(
doc
,
input
);
YAML_ASSERT
(
doc
.
size
()
==
0
);
return
true
;
}
// 5.6
TEST
NodePropertyIndicators
()
...
...
@@ -1060,10 +1069,9 @@ namespace Test {
" # Comment
\n
"
"
\n
"
"
\n
"
;
std
::
stringstream
stream
(
input
);
YAML
::
Parser
parser
(
stream
);
YAML_ASSERT
(
!
parser
);
PARSE
(
doc
,
input
);
YAML_ASSERT
(
doc
.
size
()
==
0
);
return
true
;
}
...
...
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