mirror of
https://github.com/nushell/nushell.git
synced 2025-01-11 16:58:41 +01:00
fixed a couple more tests (#4870)
This commit is contained in:
parent
4f05e9f4a6
commit
5a1af4d661
@ -16,8 +16,6 @@ fn columns() {
|
|||||||
assert_eq!(actual.out, "1");
|
assert_eq!(actual.out, "1");
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: jt: needs more work
|
|
||||||
#[ignore]
|
|
||||||
#[test]
|
#[test]
|
||||||
fn more_columns_than_table_has() {
|
fn more_columns_than_table_has() {
|
||||||
let actual = nu!(
|
let actual = nu!(
|
||||||
|
@ -43,8 +43,6 @@ fn by_invalid_column() {
|
|||||||
assert!(actual.err.contains("value originates here"));
|
assert!(actual.err.contains("value originates here"));
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: jt: needs more work
|
|
||||||
#[ignore]
|
|
||||||
#[test]
|
#[test]
|
||||||
fn by_invalid_types() {
|
fn by_invalid_types() {
|
||||||
let actual = nu!(
|
let actual = nu!(
|
||||||
@ -53,7 +51,7 @@ fn by_invalid_types() {
|
|||||||
open cargo_sample.toml --raw
|
open cargo_sample.toml --raw
|
||||||
| echo ["foo" 1]
|
| echo ["foo" 1]
|
||||||
| sort-by
|
| sort-by
|
||||||
| json -r
|
| to json -r
|
||||||
"#
|
"#
|
||||||
));
|
));
|
||||||
|
|
||||||
|
@ -127,7 +127,9 @@ fn sources_unicode_file_in_unicode_dir_without_spaces_2() {
|
|||||||
#[ignore]
|
#[ignore]
|
||||||
#[test]
|
#[test]
|
||||||
fn sources_unicode_file_in_unicode_dir_with_spaces_1() {
|
fn sources_unicode_file_in_unicode_dir_with_spaces_1() {
|
||||||
|
// this one fails
|
||||||
try_source_foo_with_single_quotes_in("e-$ èрт🚒♞中片-j", "source_test_8");
|
try_source_foo_with_single_quotes_in("e-$ èрт🚒♞中片-j", "source_test_8");
|
||||||
|
// this one passes
|
||||||
try_source_foo_with_double_quotes_in("e-$ èрт🚒♞中片-j", "source_test_9");
|
try_source_foo_with_double_quotes_in("e-$ èрт🚒♞中片-j", "source_test_9");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user