Fix test.
This commit is contained in:
parent
b4278fa251
commit
feb764a203
@ -77,6 +77,9 @@ fn test_comments_doc() -> Result<(), Box<EvalAltResult>> {
|
|||||||
|
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
ast.iter_functions().next().unwrap().comments[0],
|
ast.iter_functions().next().unwrap().comments[0],
|
||||||
|
#[cfg(feature = "no_position")]
|
||||||
|
"/** Hello world\n ** how are you?\n **/",
|
||||||
|
#[cfg(not(feature = "no_position"))]
|
||||||
"/** Hello world\n** how are you?\n**/"
|
"/** Hello world\n** how are you?\n**/"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user