Showing 1 of 1 files from the diff.

@@ -41,12 +41,12 @@
Loading
41 41
    }
42 42
43 43
    func testShellRedirect() throws {
44 -
        XCTAssertEqual(try system(shell: "echo hello cat > cat && cat cat", captureOutput: true).standardOutput,
45 -
                       "hello cat")
44 +
        let result = try system(shell: "echo hello cat > cat && cat cat && rm cat", captureOutput: true)
45 +
        XCTAssertEqual(result.standardOutput, "hello cat")
46 46
    }
47 47
48 48
    func testShellRedirectPipe() throws {
49 -
        let output = try system(shell: "echo hello cat > cat && cat cat | awk '{print $2}'",
49 +
        let output = try system(shell: "echo hello cat > cat && cat cat | awk '{print $2}' && rm cat",
50 50
                                captureOutput: true).standardOutput
51 51
        XCTAssertEqual(output, "cat")
52 52
    }
Files Coverage
Sources/System 97.96%
Tests/SystemTests 100.00%
Project Totals (8 files) 99.16%
362.2
TRAVIS_OS_NAME=osx
714.2
TRAVIS_OS_NAME=osx
715.2
TRAVIS_OS_NAME=osx
1
comment:
2
  layout: "reach, diff, flags, files"
3
  behavior: default
4
  require_changes: false  # if true: only post the comment if coverage changes
5
  require_base: no        # [yes :: must have a base report to post]
6
  require_head: yes       # [yes :: must have a head report to post]
7
  branches: null
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading