Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On windows spec for recreating the expressir cache files fails #27

Open
w00lf opened this issue Apr 14, 2021 · 0 comments
Open

On windows spec for recreating the expressir cache files fails #27

w00lf opened this issue Apr 14, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@w00lf
Copy link
Contributor

w00lf commented Apr 14, 2021

Failures:

  1) Metanorma::Plugin::Lutaml::LutamlPreprocessor#process when lutaml-express-index keyword used with folder path when the cache file is corrupted recreates the cache file with the correct data
     Failure/Error:
       expect { xml_string_conent(metanorma_process(input)) }
         .to(change do
           wraper = Metanorma::Plugin::Lutaml::Utils.express_from_cache(cache_path) rescue nil
           wraper&.to_liquid&.length
         end.from(nil).to(2))

       expected result to have changed from nil to 2, but did not change
     # ./spec/metanorma/plugin/lutaml/lutaml2_text_preprocessor_spec.rb:510:in `block (5 levels) in <top (required)>'
     # ./spec/metanorma/plugin/lutaml/lutaml2_text_preprocessor_spec.rb:499:in `block (5 levels) in <top (required)>'
     # ./spec/metanorma/plugin/lutaml/lutaml2_text_preprocessor_spec.rb:389:in `block (4 levels) in <top (required)>'
Failed examples:

rspec ./spec/metanorma/plugin/lutaml/lutaml2_text_preprocessor_spec.rb:508 # Metanorma::Plugin::Lutaml::LutamlPreprocessor#process when lutaml-express-index keyword used with folder path when the cache file is corrupted recreates the cache file with the correct data
@w00lf w00lf added the bug Something isn't working label Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant