mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
Fix CI test failure on main (nu-json) (#13374)
Conflict resulting from #13329 and #13326
This commit is contained in:
parent
cf4864a9cd
commit
3d1145e759
2 changed files with 7 additions and 8 deletions
|
@ -19,7 +19,7 @@ fn txt(text: &str) -> String {
|
|||
}
|
||||
|
||||
fn hjson_expectations() -> PathBuf {
|
||||
nu_test_support::fs::assets().join("nu_json")
|
||||
nu_test_support::fs::assets().join("nu_json").into()
|
||||
}
|
||||
|
||||
fn get_test_content(name: &str) -> io::Result<String> {
|
||||
|
|
|
@ -102,13 +102,12 @@ pub fn fixtures() -> AbsolutePathBuf {
|
|||
path
|
||||
}
|
||||
|
||||
// FIXME: re-enable nu_json tests
|
||||
// pub fn assets() -> AbsolutePathBuf {
|
||||
// let mut path = root();
|
||||
// path.push("tests");
|
||||
// path.push("assets");
|
||||
// path
|
||||
// }
|
||||
pub fn assets() -> AbsolutePathBuf {
|
||||
let mut path = root();
|
||||
path.push("tests");
|
||||
path.push("assets");
|
||||
path
|
||||
}
|
||||
|
||||
pub fn in_directory(path: impl AsRef<nu_path::Path>) -> AbsolutePathBuf {
|
||||
root().join(path)
|
||||
|
|
Loading…
Reference in a new issue