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

Conf tests are failing #35

Open
ignatenkobrain opened this issue Jan 27, 2018 · 1 comment
Open

Conf tests are failing #35

ignatenkobrain opened this issue Jan 27, 2018 · 1 comment

Comments

@ignatenkobrain
Copy link
Contributor

failures:

---- conf::tests::test_load_default_config stdout ----
	thread 'conf::tests::test_load_default_config' panicked at 'called `Result::unwrap()` on an `Err` value: Error { code: -3, klass: 6, message: "could not find repository from \'.\'" }', src/libcore/result.rs:906:4

---- conf::tests::test_values_is_present stdout ----
	thread 'conf::tests::test_values_is_present' panicked at 'called `Result::unwrap()` on an `Err` value: Error { code: -3, klass: 6, message: "could not find repository from \'.\'" }', src/libcore/result.rs:906:4
note: Run with `RUST_BACKTRACE=1` for a backtrace.

---- conf::tests::test_lower_version stdout ----
	thread 'conf::tests::test_lower_version' panicked at 'called `Result::unwrap()` on an `Err` value: Error { code: -3, klass: 6, message: "could not find repository from \'.\'" }', src/libcore/result.rs:906:4
note: Panic did not include expected string 'Config should be using version '1', instead is using '0''
---- conf::tests::test_empty_config stdout ----
	thread 'conf::tests::test_empty_config' panicked at 'called `Result::unwrap()` on an `Err` value: Error { code: -3, klass: 6, message: "could not find repository from \'.\'" }', src/libcore/result.rs:906:4
note: Panic did not include expected string ''version' is missing in config file.'

failures:
    conf::tests::test_empty_config
    conf::tests::test_load_default_config
    conf::tests::test_lower_version
    conf::tests::test_values_is_present

test result: FAILED. 3 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out

@TomasTomecek said that he will fix it!

@TomasTomecek
Copy link
Owner

The issue is that the test suite is meant to be run from this git repo (or basically any git repo). I'll make it work anywhere.

Pity rust doesn't have such an advanced testing framework such as pytest.

TomasTomecek added a commit that referenced this issue Feb 2, 2018
Fixes #35

Signed-off-by: Tomas Tomecek <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants