Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Additional unit tests #125

Merged
merged 2 commits into from
Feb 23, 2017
Merged

Additional unit tests #125

merged 2 commits into from
Feb 23, 2017

Conversation

jeffyoung
Copy link
Contributor

No description provided.

Copy link
Member

@jpricket jpricket left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! - couple minor comments


let lines: string[] = CommandHelper.SplitIntoLines(executionResult.stdout, false, true /*filterEmptyLines*/);

//Remove any lines indicating that there were no files to add (e.g., calling add on files that don't exist)
lines = lines.filter(e => !e.startsWith("No arguments matched any files to add."));
lines = lines.filter(e => !e.startsWith("No arguments matched any files to add.")); //CLC
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could combine the two filter lines into one. But that may make it less readable.

}
});

// it("should verify parse output - single empty folder - no errors", async function() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need these commented lines?

@jeffyoung jeffyoung merged commit 3d2e076 into master Feb 23, 2017
@jeffyoung jeffyoung deleted the jeyou/addl-unit-tests branch February 23, 2017 19:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants