Skip to content

Commit

Permalink
Fix Unit Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mmstick committed Jul 31, 2017
1 parent 60962fc commit f237292
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/parser/pipelines/collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,8 @@ impl<'a> Collector<'a> {

#[cfg(test)]
mod tests {
use parser::peg::{Input, Pipeline, RedirectFrom, Redirection, parse};
use parser::pipelines::{Input, Pipeline, RedirectFrom, Redirection};
use parser::statement::parse;
use shell::{Job, JobKind};
use shell::flow_control::Statement;
use types::Array;
Expand Down
2 changes: 1 addition & 1 deletion src/parser/statement/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ pub fn get_function_args(args: Vec<String>) -> Option<Vec<FunctionArgument>> {
#[cfg(test)]
mod tests {
use super::*;
use shell::JobKind;
use shell::{Job, JobKind};
use shell::flow_control::Statement;

#[test]
Expand Down

0 comments on commit f237292

Please sign in to comment.