Skip to content

broken test path #15

@jonassmedegaard

Description

@jonassmedegaard

Since commit b36af9e, ron expectation files for crate sdml_parse is expected to be located in same directory as test cases.
Commit c501c03 moved the ron files to subdir ron/ without adjusting that, causing the tests to all fail.

This fixes the issue:

--- a/sdml-parse/tests/test_examples.rs
+++ b/sdml-parse/tests/test_examples.rs
@@ -42,7 +42,7 @@
                     ));
                 let expected = ::std::path::PathBuf::from(
                     format!(
-                        "{}/{}/{}.ron",
+                        "{}/{}/ron/{}.ron",
                         MANIFEST_PATH,
                         TEST_PATH,
                         test_name

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions