mirror of
https://github.com/nushell/nushell.git
synced 2024-11-25 01:43:47 +01: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
@ -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 New Issue
Block a user