Another batch of command tests (#4496)

* Add a batch of command tests

* More tests
This commit is contained in:
JT
2022-02-16 07:38:02 -05:00
committed by GitHub
parent 644435bfe3
commit c4e1559f89
13 changed files with 43 additions and 70 deletions

View File

@ -1,9 +1,7 @@
use nu_test_support::{nu, pipeline};
// FIXME: jt: needs more work
#[ignore]
#[test]
fn generates_an_decimal() {
fn generates_a_decimal() {
let actual = nu!(
cwd: ".", pipeline(
r#"
@ -14,8 +12,6 @@ fn generates_an_decimal() {
assert!(actual.out.contains("42") || actual.out.contains("43"));
}
// FIXME: jt: needs more work
#[ignore]
#[test]
fn generates_55() {
let actual = nu!(
@ -28,8 +24,6 @@ fn generates_55() {
assert!(actual.out.contains("55"));
}
// FIXME: jt: needs more work
#[ignore]
#[test]
fn generates_0() {
let actual = nu!(

View File

@ -24,8 +24,6 @@ fn generates_55() {
assert!(actual.out.contains("55"));
}
// FIXME: jt: needs more work
#[ignore]
#[test]
fn generates_0() {
let actual = nu!(