suite in place.

This commit is contained in:
Andrés N. Robalino 2019-10-31 04:42:18 -05:00
parent b54ce921dd
commit 65ae24fbf1

View File

@ -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!(