lint #1
Annotations
10 errors
|
src/comparison-tests/uniq.comparison.test.ts > uniq command - Real Bash Comparison > stdin > should count from stdin:
src/comparison-tests/test-helpers.ts#L97
Error: stdout mismatch for "echo -e "a\na\nb\nb\nb" | uniq -c"
Expected (real bash): " 2 a\n 3 b\n"
Received (BashEnv): " 2 a\n 3 b\n"
❯ compareOutputs src/comparison-tests/test-helpers.ts:97:11
❯ src/comparison-tests/uniq.comparison.test.ts:129:7
|
|
src/comparison-tests/uniq.comparison.test.ts > uniq command - Real Bash Comparison > combined with sort > should count after sort:
src/comparison-tests/test-helpers.ts#L97
Error: stdout mismatch for "sort test.txt | uniq -c"
Expected (real bash): " 3 apple\n 2 banana\n 1 cherry\n"
Received (BashEnv): " 3 apple\n 2 banana\n 1 cherry\n"
❯ compareOutputs src/comparison-tests/test-helpers.ts:97:11
❯ src/comparison-tests/uniq.comparison.test.ts:117:7
|
|
src/comparison-tests/uniq.comparison.test.ts > uniq command - Real Bash Comparison > -c flag (count) > should count single occurrences:
src/comparison-tests/test-helpers.ts#L97
Error: stdout mismatch for "uniq -c test.txt"
Expected (real bash): " 1 a\n 1 b\n 1 c\n"
Received (BashEnv): " 1 a\n 1 b\n 1 c\n"
❯ compareOutputs src/comparison-tests/test-helpers.ts:97:11
❯ src/comparison-tests/uniq.comparison.test.ts:62:7
|
|
src/comparison-tests/uniq.comparison.test.ts > uniq command - Real Bash Comparison > -c flag (count) > should count occurrences:
src/comparison-tests/test-helpers.ts#L97
Error: stdout mismatch for "uniq -c test.txt"
Expected (real bash): " 2 apple\n 3 banana\n 1 cherry\n"
Received (BashEnv): " 2 apple\n 3 banana\n 1 cherry\n"
❯ compareOutputs src/comparison-tests/test-helpers.ts:97:11
❯ src/comparison-tests/uniq.comparison.test.ts:55:7
|
|
src/comparison-tests/sort.comparison.test.ts > sort command - Real Bash Comparison > default sorting > should sort with mixed case:
src/comparison-tests/test-helpers.ts#L97
Error: stdout mismatch for "sort test.txt"
Expected (real bash): "Banana\nCherry\napple\nbanana\n"
Received (BashEnv): "apple\nbanana\nBanana\nCherry\n"
❯ compareOutputs src/comparison-tests/test-helpers.ts:97:11
❯ src/comparison-tests/sort.comparison.test.ts:32:7
|
|
src/comparison-tests/pipes-redirections.comparison.test.ts > Input Redirection (<) - Real Bash Comparison > basic stdin redirection > should redirect file to wc stdin:
src/comparison-tests/test-helpers.ts#L97
Error: stdout mismatch for "wc -l < input.txt"
Expected (real bash): "3\n"
Received (BashEnv): " 3\n"
❯ compareOutputs src/comparison-tests/test-helpers.ts:97:11
❯ src/comparison-tests/pipes-redirections.comparison.test.ts:388:7
|
|
src/comparison-tests/pipes-redirections.comparison.test.ts > Pipes - Real Bash Comparison > multiple pipes > should chain four commands:
src/comparison-tests/test-helpers.ts#L97
Error: stdout mismatch for "cat test.txt | grep hello | sort | wc -l"
Expected (real bash): "2\n"
Received (BashEnv): " 2\n"
❯ compareOutputs src/comparison-tests/test-helpers.ts:97:11
❯ src/comparison-tests/pipes-redirections.comparison.test.ts:63:7
|
|
src/comparison-tests/pipes-redirections.comparison.test.ts > Pipes - Real Bash Comparison > simple pipes > should pipe grep to wc:
src/comparison-tests/test-helpers.ts#L97
Error: stdout mismatch for "grep hello test.txt | wc -l"
Expected (real bash): "2\n"
Received (BashEnv): " 2\n"
❯ compareOutputs src/comparison-tests/test-helpers.ts:97:11
❯ src/comparison-tests/pipes-redirections.comparison.test.ts:47:7
|
|
src/comparison-tests/ls.comparison.test.ts > ls command - Real Bash Comparison > flags > should match -R (recursive):
src/comparison-tests/test-helpers.ts#L97
Error: stdout mismatch for "ls -R"
Expected (real bash): ".:\ndir\nfile.txt\n\n./dir:\nfile1.txt\nsub\n\n./dir/sub:\nfile2.txt\n"
Received (BashEnv): "dir\nfile.txt\n\n./dir:\nfile1.txt\nsub\n\n./dir/sub:\nfile2.txt\n"
❯ compareOutputs src/comparison-tests/test-helpers.ts:97:11
❯ src/comparison-tests/ls.comparison.test.ts:79:7
|
|
src/comparison-tests/cat.comparison.test.ts > cat command - Real Bash Comparison > should match -n with multiple files:
src/comparison-tests/test-helpers.ts#L97
Error: stdout mismatch for "cat -n a.txt b.txt"
Expected (real bash): " 1\tfile a line 1\n 2\tfile a line 2\n 3\tfile b line 1\n"
Received (BashEnv): " 1\tfile a line 1\n 2\tfile a line 2\n 1\tfile b line 1\n"
❯ compareOutputs src/comparison-tests/test-helpers.ts:97:11
❯ src/comparison-tests/cat.comparison.test.ts:68:5
|