mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
suite in place.
This commit is contained in:
parent
b54ce921dd
commit
65ae24fbf1
1 changed files with 3 additions and 2 deletions
|
@ -2,6 +2,7 @@ mod helpers;
|
||||||
|
|
||||||
use helpers as h;
|
use helpers as h;
|
||||||
use helpers::{Playground, Stub::*};
|
use helpers::{Playground, Stub::*};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn get() {
|
fn get() {
|
||||||
Playground::setup("get_test_1", |dirs, sandbox| {
|
Playground::setup("get_test_1", |dirs, sandbox| {
|
||||||
|
@ -88,7 +89,7 @@ fn fetches_more_than_one_column_member_path() {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn errors_fetching_by_index_out_of_bounds_from_table() {
|
fn errors_fetching_by_index_out_of_bounds_from_table() {
|
||||||
Playground::setup("get_test_2", |dirs, sandbox| {
|
Playground::setup("get_test_4", |dirs, sandbox| {
|
||||||
sandbox.with_files(vec![FileWithContent(
|
sandbox.with_files(vec![FileWithContent(
|
||||||
"sample.toml",
|
"sample.toml",
|
||||||
r#"
|
r#"
|
||||||
|
@ -113,7 +114,7 @@ fn errors_fetching_by_index_out_of_bounds_from_table() {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn requires_at_least_one_column_member_path() {
|
fn requires_at_least_one_column_member_path() {
|
||||||
Playground::setup("first_test_4", |dirs, sandbox| {
|
Playground::setup("get_test_5", |dirs, sandbox| {
|
||||||
sandbox.with_files(vec![EmptyFile("andres.txt")]);
|
sandbox.with_files(vec![EmptyFile("andres.txt")]);
|
||||||
|
|
||||||
let actual = nu_error!(
|
let actual = nu_error!(
|
||||||
|
|
Loading…
Reference in a new issue