Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9193600192 |
No files matched your search
@@ -0,0 +1,47 @@
|
||||
[filters.basedpyright]
|
||||
description = "Compact basedpyright type checker output — strip blank lines, keep errors"
|
||||
match_command = "^basedpyright\\b"
|
||||
strip_ansi = true
|
||||
strip_lines_matching = [
|
||||
"^\\s*$",
|
||||
"^Searching for source files",
|
||||
"^Found \\d+ source file",
|
||||
"^Pyright \\d+\\.\\d+",
|
||||
"^basedpyright \\d+\\.\\d+",
|
||||
]
|
||||
max_lines = 50
|
||||
on_empty = "basedpyright: ok"
|
||||
|
||||
[[tests.basedpyright]]
|
||||
name = "strips noise, keeps errors and summary"
|
||||
input = """
|
||||
basedpyright 1.22.0
|
||||
Searching for source files
|
||||
Found 42 source files
|
||||
|
||||
/home/user/app/main.py
|
||||
/home/user/app/main.py:10:5 - error: "foo" is not defined (reportUndefinedVariable)
|
||||
/home/user/app/main.py:25:1 - error: Type "str" is not assignable to type "int" (reportAssignmentType)
|
||||
|
||||
/home/user/app/utils.py
|
||||
/home/user/app/utils.py:8:9 - warning: Variable "x" is not accessed (reportUnusedVariable)
|
||||
|
||||
3 errors, 1 warning, 0 informations
|
||||
"""
|
||||
expected = "/home/user/app/main.py\n /home/user/app/main.py:10:5 - error: \"foo\" is not defined (reportUndefinedVariable)\n /home/user/app/main.py:25:1 - error: Type \"str\" is not assignable to type \"int\" (reportAssignmentType)\n/home/user/app/utils.py\n /home/user/app/utils.py:8:9 - warning: Variable \"x\" is not accessed (reportUnusedVariable)\n3 errors, 1 warning, 0 informations"
|
||||
|
||||
[[tests.basedpyright]]
|
||||
name = "clean output"
|
||||
input = """
|
||||
basedpyright 1.22.0
|
||||
Searching for source files
|
||||
Found 10 source files
|
||||
|
||||
0 errors, 0 warnings, 0 informations
|
||||
"""
|
||||
expected = "0 errors, 0 warnings, 0 informations"
|
||||
|
||||
[[tests.basedpyright]]
|
||||
name = "empty input passes through"
|
||||
input = ""
|
||||
expected = ""
|
||||
@@ -0,0 +1,45 @@
|
||||
[filters.biome]
|
||||
description = "Compact Biome lint/format output — strip blank lines, keep diagnostics"
|
||||
match_command = "^biome\\b"
|
||||
strip_ansi = true
|
||||
strip_lines_matching = [
|
||||
"^\\s*$",
|
||||
"^Checked \\d+ file",
|
||||
"^Fixed \\d+ file",
|
||||
"^The following command",
|
||||
"^Run it with",
|
||||
]
|
||||
max_lines = 50
|
||||
on_empty = "biome: ok"
|
||||
|
||||
[[tests.biome]]
|
||||
name = "lint strips noise, keeps diagnostics"
|
||||
input = """
|
||||
Checked 42 files in 0.5s
|
||||
|
||||
src/app.tsx:5:3 lint/suspicious/noExplicitAny ━━━━━━━━━━━━━━━━━━━━
|
||||
× Unexpected any. Specify a different type.
|
||||
3 │ interface Props {
|
||||
4 │ data: any;
|
||||
5 │ ^^^
|
||||
|
||||
src/utils.ts:12:1 lint/complexity/noForEach ━━━━━━━━━━━━━━━━━━━━
|
||||
× Prefer for...of instead of forEach.
|
||||
12 │ items.forEach(item => process(item));
|
||||
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Found 2 errors.
|
||||
"""
|
||||
expected = "src/app.tsx:5:3 lint/suspicious/noExplicitAny ━━━━━━━━━━━━━━━━━━━━\n × Unexpected any. Specify a different type.\n 3 │ interface Props {\n 4 │ data: any;\n 5 │ ^^^\nsrc/utils.ts:12:1 lint/complexity/noForEach ━━━━━━━━━━━━━━━━━━━━\n × Prefer for...of instead of forEach.\n 12 │ items.forEach(item => process(item));\n │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nFound 2 errors."
|
||||
|
||||
[[tests.biome]]
|
||||
name = "clean check"
|
||||
input = """
|
||||
Checked 42 files in 0.3s
|
||||
"""
|
||||
expected = "biome: ok"
|
||||
|
||||
[[tests.biome]]
|
||||
name = "empty input passes through"
|
||||
input = ""
|
||||
expected = ""
|
||||
@@ -0,0 +1,49 @@
|
||||
[filters.gcc]
|
||||
description = "Compact gcc/g++ compiler output — strip notes, keep errors and warnings"
|
||||
match_command = "^g(cc|\\+\\+)\\b"
|
||||
strip_ansi = true
|
||||
strip_lines_matching = [
|
||||
"^\\s*$",
|
||||
"^\\s+\\|\\s*$",
|
||||
"^In file included from",
|
||||
"^\\s+from\\s",
|
||||
"^\\d+ warnings? generated",
|
||||
"^\\d+ errors? generated",
|
||||
]
|
||||
max_lines = 50
|
||||
on_empty = "gcc: ok"
|
||||
|
||||
[[tests.gcc]]
|
||||
name = "strips include chain, keeps errors and warnings"
|
||||
input = """
|
||||
In file included from /usr/include/stdio.h:42:
|
||||
from main.c:1:
|
||||
main.c:10:5: error: use of undeclared identifier 'foo'
|
||||
foo();
|
||||
^
|
||||
main.c:15:12: warning: unused variable 'x' [-Wunused-variable]
|
||||
int x = 42;
|
||||
^
|
||||
2 warnings generated.
|
||||
1 error generated.
|
||||
"""
|
||||
expected = "main.c:10:5: error: use of undeclared identifier 'foo'\n foo();\n ^\nmain.c:15:12: warning: unused variable 'x' [-Wunused-variable]\n int x = 42;\n ^"
|
||||
|
||||
[[tests.gcc]]
|
||||
name = "clean compilation"
|
||||
input = """
|
||||
"""
|
||||
expected = "gcc: ok"
|
||||
|
||||
[[tests.gcc]]
|
||||
name = "linker error kept"
|
||||
input = """
|
||||
/usr/bin/ld: /tmp/main.o: undefined reference to 'missing_func'
|
||||
collect2: error: ld returned 1 exit status
|
||||
"""
|
||||
expected = "/usr/bin/ld: /tmp/main.o: undefined reference to 'missing_func'\ncollect2: error: ld returned 1 exit status"
|
||||
|
||||
[[tests.gcc]]
|
||||
name = "empty input passes through"
|
||||
input = ""
|
||||
expected = ""
|
||||
@@ -0,0 +1,28 @@
|
||||
[filters.jj]
|
||||
description = "Compact Jujutsu (jj) output — strip blank lines, truncate"
|
||||
match_command = "^jj\\b"
|
||||
strip_ansi = true
|
||||
strip_lines_matching = [
|
||||
"^\\s*$",
|
||||
"^Hint:",
|
||||
"^Working copy now at:",
|
||||
]
|
||||
max_lines = 30
|
||||
truncate_lines_at = 120
|
||||
|
||||
[[tests.jj]]
|
||||
name = "log output stripped of hints"
|
||||
input = """
|
||||
@ qpvuntsm patrick@example.com 2026-03-10 12:00 abc123
|
||||
│ feat: add new feature
|
||||
◉ zzzzzzzz root()
|
||||
|
||||
Working copy now at: qpvuntsm abc123 feat: add new feature
|
||||
Hint: use `jj log` to see the full history
|
||||
"""
|
||||
expected = "@ qpvuntsm patrick@example.com 2026-03-10 12:00 abc123\n│ feat: add new feature\n◉ zzzzzzzz root()"
|
||||
|
||||
[[tests.jj]]
|
||||
name = "empty input passes through"
|
||||
input = ""
|
||||
expected = ""
|
||||
@@ -0,0 +1,24 @@
|
||||
[filters.jq]
|
||||
description = "Compact jq output — truncate large JSON results"
|
||||
match_command = "^jq\\b"
|
||||
strip_ansi = true
|
||||
strip_lines_matching = [
|
||||
"^\\s*$",
|
||||
]
|
||||
max_lines = 40
|
||||
truncate_lines_at = 120
|
||||
|
||||
[[tests.jq]]
|
||||
name = "short output passes through"
|
||||
input = """
|
||||
{
|
||||
"name": "test",
|
||||
"version": "1.0"
|
||||
}
|
||||
"""
|
||||
expected = "{\n \"name\": \"test\",\n \"version\": \"1.0\"\n}"
|
||||
|
||||
[[tests.jq]]
|
||||
name = "empty input passes through"
|
||||
input = ""
|
||||
expected = ""
|
||||
@@ -0,0 +1,43 @@
|
||||
[filters.oxlint]
|
||||
description = "Compact oxlint output — strip blank lines, keep diagnostics"
|
||||
match_command = "^oxlint\\b"
|
||||
strip_ansi = true
|
||||
strip_lines_matching = [
|
||||
"^\\s*$",
|
||||
"^Finished in \\d+",
|
||||
"^Found \\d+ warning",
|
||||
]
|
||||
max_lines = 50
|
||||
on_empty = "oxlint: ok"
|
||||
|
||||
[[tests.oxlint]]
|
||||
name = "strips noise, keeps diagnostics"
|
||||
input = """
|
||||
× eslint(no-console): Unexpected console statement.
|
||||
╭─[src/app.ts:5:3]
|
||||
5 │ console.log("debug");
|
||||
│ ^^^^^^^^^^^
|
||||
╰────
|
||||
|
||||
× eslint(no-unused-vars): 'x' is defined but never used.
|
||||
╭─[src/utils.ts:2:7]
|
||||
2 │ let x = 42;
|
||||
│ ^
|
||||
╰────
|
||||
|
||||
Found 2 warnings on 2 files.
|
||||
Finished in 12ms on 100 files.
|
||||
"""
|
||||
expected = " × eslint(no-console): Unexpected console statement.\n ╭─[src/app.ts:5:3]\n 5 │ console.log(\"debug\");\n │ ^^^^^^^^^^^\n ╰────\n × eslint(no-unused-vars): 'x' is defined but never used.\n ╭─[src/utils.ts:2:7]\n 2 │ let x = 42;\n │ ^\n ╰────"
|
||||
|
||||
[[tests.oxlint]]
|
||||
name = "clean output"
|
||||
input = """
|
||||
Finished in 5ms on 100 files.
|
||||
"""
|
||||
expected = "oxlint: ok"
|
||||
|
||||
[[tests.oxlint]]
|
||||
name = "empty input passes through"
|
||||
input = ""
|
||||
expected = ""
|
||||
@@ -0,0 +1,45 @@
|
||||
[filters.skopeo]
|
||||
description = "Compact skopeo output — truncate large manifests, strip verbosity"
|
||||
match_command = "^skopeo\\b"
|
||||
strip_ansi = true
|
||||
strip_lines_matching = [
|
||||
"^\\s*$",
|
||||
"^Getting image source signatures",
|
||||
"^Copying blob",
|
||||
"^Copying config",
|
||||
"^Writing manifest",
|
||||
"^Storing signatures",
|
||||
]
|
||||
max_lines = 30
|
||||
truncate_lines_at = 120
|
||||
on_empty = "skopeo: ok"
|
||||
|
||||
[[tests.skopeo]]
|
||||
name = "copy strips progress, keeps result"
|
||||
input = """
|
||||
Getting image source signatures
|
||||
Copying blob sha256:abc123 done
|
||||
Copying blob sha256:def456 done
|
||||
Copying config sha256:789ghi done
|
||||
Writing manifest to image destination
|
||||
Storing signatures
|
||||
"""
|
||||
expected = "skopeo: ok"
|
||||
|
||||
[[tests.skopeo]]
|
||||
name = "inspect keeps output"
|
||||
input = """
|
||||
{
|
||||
"Name": "docker.io/library/nginx",
|
||||
"Tag": "latest",
|
||||
"Digest": "sha256:abc123",
|
||||
"RepoTags": ["latest", "1.25"],
|
||||
"Created": "2026-01-01T00:00:00Z"
|
||||
}
|
||||
"""
|
||||
expected = "{\n \"Name\": \"docker.io/library/nginx\",\n \"Tag\": \"latest\",\n \"Digest\": \"sha256:abc123\",\n \"RepoTags\": [\"latest\", \"1.25\"],\n \"Created\": \"2026-01-01T00:00:00Z\"\n}"
|
||||
|
||||
[[tests.skopeo]]
|
||||
name = "empty input passes through"
|
||||
input = ""
|
||||
expected = ""
|
||||
@@ -0,0 +1,44 @@
|
||||
[filters.ssh]
|
||||
description = "Compact ssh output — strip connection banners, keep command output"
|
||||
match_command = "^ssh\\b"
|
||||
strip_ansi = true
|
||||
strip_lines_matching = [
|
||||
"^\\s*$",
|
||||
"^Warning: Permanently added",
|
||||
"^Connection to .+ closed",
|
||||
"^Authenticated to",
|
||||
"^debug1:",
|
||||
"^OpenSSH_",
|
||||
"^Pseudo-terminal",
|
||||
]
|
||||
max_lines = 50
|
||||
truncate_lines_at = 120
|
||||
|
||||
[[tests.ssh]]
|
||||
name = "strips connection banners, keeps command output"
|
||||
input = """
|
||||
Warning: Permanently added '192.168.1.10' (ED25519) to the list of known hosts.
|
||||
|
||||
total 32
|
||||
drwxr-xr-x 4 user user 4096 Mar 10 12:00 app
|
||||
-rw-r--r-- 1 user user 1234 Mar 10 11:00 config.yaml
|
||||
|
||||
Connection to 192.168.1.10 closed.
|
||||
"""
|
||||
expected = "total 32\ndrwxr-xr-x 4 user user 4096 Mar 10 12:00 app\n-rw-r--r-- 1 user user 1234 Mar 10 11:00 config.yaml"
|
||||
|
||||
[[tests.ssh]]
|
||||
name = "verbose debug lines stripped"
|
||||
input = """
|
||||
debug1: Connecting to host.example.com port 22.
|
||||
debug1: Connection established.
|
||||
Authenticated to host.example.com ([1.2.3.4]:22).
|
||||
uptime: 12:00:00 up 42 days, load average: 0.10, 0.15, 0.12
|
||||
Connection to host.example.com closed.
|
||||
"""
|
||||
expected = "uptime: 12:00:00 up 42 days, load average: 0.10, 0.15, 0.12"
|
||||
|
||||
[[tests.ssh]]
|
||||
name = "empty input passes through"
|
||||
input = ""
|
||||
expected = ""
|
||||
@@ -0,0 +1,34 @@
|
||||
[filters.stat]
|
||||
description = "Compact stat output — strip blank lines"
|
||||
match_command = "^stat\\b"
|
||||
strip_ansi = true
|
||||
strip_lines_matching = [
|
||||
"^\\s*$",
|
||||
]
|
||||
max_lines = 30
|
||||
|
||||
[[tests.stat]]
|
||||
name = "macOS stat output kept"
|
||||
input = """
|
||||
16777234 8690244974 -rw-r--r-- 1 patrick staff 0 12345 "Mar 10 12:00:00 2026" "Mar 10 11:00:00 2026" "Mar 10 11:00:00 2026" "Mar 9 10:00:00 2026" 4096 24 0 file.txt
|
||||
"""
|
||||
expected = "16777234 8690244974 -rw-r--r-- 1 patrick staff 0 12345 \"Mar 10 12:00:00 2026\" \"Mar 10 11:00:00 2026\" \"Mar 10 11:00:00 2026\" \"Mar 9 10:00:00 2026\" 4096 24 0 file.txt"
|
||||
|
||||
[[tests.stat]]
|
||||
name = "linux stat output kept"
|
||||
input = """
|
||||
File: main.rs
|
||||
Size: 12345 Blocks: 24 IO Block: 4096 regular file
|
||||
Device: 801h/2049d Inode: 1234567 Links: 1
|
||||
Access: (0644/-rw-r--r--) Uid: ( 1000/ patrick) Gid: ( 1000/ patrick)
|
||||
Access: 2026-03-10 12:00:00.000000000 +0100
|
||||
Modify: 2026-03-10 11:00:00.000000000 +0100
|
||||
Change: 2026-03-10 11:00:00.000000000 +0100
|
||||
Birth: 2026-03-09 10:00:00.000000000 +0100
|
||||
"""
|
||||
expected = " File: main.rs\n Size: 12345 Blocks: 24 IO Block: 4096 regular file\nDevice: 801h/2049d Inode: 1234567 Links: 1\nAccess: (0644/-rw-r--r--) Uid: ( 1000/ patrick) Gid: ( 1000/ patrick)\nAccess: 2026-03-10 12:00:00.000000000 +0100\nModify: 2026-03-10 11:00:00.000000000 +0100\nChange: 2026-03-10 11:00:00.000000000 +0100\n Birth: 2026-03-09 10:00:00.000000000 +0100"
|
||||
|
||||
[[tests.stat]]
|
||||
name = "empty input passes through"
|
||||
input = ""
|
||||
expected = ""
|
||||
@@ -0,0 +1,50 @@
|
||||
[filters.ty]
|
||||
description = "Compact ty type checker output — strip blank lines, keep errors"
|
||||
match_command = "^ty\\b"
|
||||
strip_ansi = true
|
||||
strip_lines_matching = [
|
||||
"^\\s*$",
|
||||
"^Checking \\d+ file",
|
||||
"^ty \\d+\\.\\d+",
|
||||
]
|
||||
max_lines = 50
|
||||
on_empty = "ty: ok"
|
||||
|
||||
[[tests.ty]]
|
||||
name = "strips noise, keeps diagnostics"
|
||||
input = """
|
||||
ty 0.1.0
|
||||
Checking 15 files
|
||||
|
||||
error[unresolved-reference]: Name `foo` used when not defined
|
||||
--> app/main.py:10:5
|
||||
|
|
||||
10 | foo()
|
||||
| ^^^
|
||||
|
|
||||
|
||||
warning[unused-variable]: Variable `x` is not used
|
||||
--> app/utils.py:8:9
|
||||
|
|
||||
8 | x = 42
|
||||
| ^
|
||||
|
|
||||
|
||||
Found 1 error, 1 warning
|
||||
"""
|
||||
expected = "error[unresolved-reference]: Name `foo` used when not defined\n --> app/main.py:10:5\n |\n10 | foo()\n | ^^^\n |\nwarning[unused-variable]: Variable `x` is not used\n --> app/utils.py:8:9\n |\n 8 | x = 42\n | ^\n |\nFound 1 error, 1 warning"
|
||||
|
||||
[[tests.ty]]
|
||||
name = "clean output"
|
||||
input = """
|
||||
ty 0.1.0
|
||||
Checking 10 files
|
||||
|
||||
All checks passed!
|
||||
"""
|
||||
expected = "All checks passed!"
|
||||
|
||||
[[tests.ty]]
|
||||
name = "empty input passes through"
|
||||
input = ""
|
||||
expected = ""
|
||||
@@ -0,0 +1,99 @@
|
||||
[filters.xcodebuild]
|
||||
description = "Compact xcodebuild output — strip build phases, keep errors/warnings/summary"
|
||||
match_command = "^xcodebuild\\b"
|
||||
strip_ansi = true
|
||||
strip_lines_matching = [
|
||||
"^\\s*$",
|
||||
"^CompileC\\s",
|
||||
"^CompileSwift\\s",
|
||||
"^Ld\\s",
|
||||
"^CreateBuildDirectory\\s",
|
||||
"^MkDir\\s",
|
||||
"^ProcessInfoPlistFile\\s",
|
||||
"^CopySwiftLibs\\s",
|
||||
"^CodeSign\\s",
|
||||
"^Signing Identity:",
|
||||
"^RegisterWithLaunchServices",
|
||||
"^Validate\\s",
|
||||
"^ProcessProductPackaging",
|
||||
"^Touch\\s",
|
||||
"^LinkStoryboards",
|
||||
"^CompileStoryboard",
|
||||
"^CompileAssetCatalog",
|
||||
"^GenerateDSYMFile",
|
||||
"^PhaseScriptExecution",
|
||||
"^PBXCp\\s",
|
||||
"^SetMode\\s",
|
||||
"^SetOwnerAndGroup\\s",
|
||||
"^Ditto\\s",
|
||||
"^CpResource\\s",
|
||||
"^CpHeader\\s",
|
||||
"^\\s+cd\\s+/",
|
||||
"^\\s+export\\s",
|
||||
"^\\s+/Applications/Xcode",
|
||||
"^\\s+/usr/bin/",
|
||||
"^\\s+builtin-",
|
||||
"^note: Using new build system",
|
||||
]
|
||||
max_lines = 60
|
||||
on_empty = "xcodebuild: ok"
|
||||
|
||||
[[tests.xcodebuild]]
|
||||
name = "strips build phases, keeps errors and summary"
|
||||
input = """
|
||||
note: Using new build system
|
||||
CompileSwift normal arm64 /Users/dev/App/ViewController.swift
|
||||
cd /Users/dev/App
|
||||
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -c
|
||||
CompileSwift normal arm64 /Users/dev/App/AppDelegate.swift
|
||||
cd /Users/dev/App
|
||||
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
|
||||
Ld /Users/dev/Build/Products/Debug/App normal arm64
|
||||
cd /Users/dev/App
|
||||
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
|
||||
CodeSign /Users/dev/Build/Products/Debug/App.app
|
||||
cd /Users/dev/App
|
||||
builtin-codesign --force --sign
|
||||
|
||||
/Users/dev/App/ViewController.swift:42:9: error: use of unresolved identifier 'foo'
|
||||
/Users/dev/App/Model.swift:18:5: warning: variable 'x' was never used
|
||||
|
||||
** BUILD FAILED **
|
||||
"""
|
||||
expected = "/Users/dev/App/ViewController.swift:42:9: error: use of unresolved identifier 'foo'\n/Users/dev/App/Model.swift:18:5: warning: variable 'x' was never used\n** BUILD FAILED **"
|
||||
|
||||
[[tests.xcodebuild]]
|
||||
name = "clean build success"
|
||||
input = """
|
||||
note: Using new build system
|
||||
CompileSwift normal arm64 /Users/dev/App/Main.swift
|
||||
cd /Users/dev/App
|
||||
Ld /Users/dev/Build/Products/Debug/App normal arm64
|
||||
cd /Users/dev/App
|
||||
CodeSign /Users/dev/Build/Products/Debug/App.app
|
||||
cd /Users/dev/App
|
||||
builtin-codesign --force --sign
|
||||
|
||||
** BUILD SUCCEEDED **
|
||||
"""
|
||||
expected = "** BUILD SUCCEEDED **"
|
||||
|
||||
[[tests.xcodebuild]]
|
||||
name = "test output keeps test results"
|
||||
input = """
|
||||
note: Using new build system
|
||||
CompileSwift normal arm64 /Users/dev/AppTests/Tests.swift
|
||||
cd /Users/dev/App
|
||||
Test Suite 'All tests' started at 2026-03-10 12:00:00
|
||||
Test Suite 'AppTests' started at 2026-03-10 12:00:00
|
||||
Test Case '-[AppTests testExample]' passed (0.001 seconds).
|
||||
Test Case '-[AppTests testFailing]' failed (0.002 seconds).
|
||||
Test Suite 'AppTests' passed at 2026-03-10 12:00:01
|
||||
Executed 2 tests, with 1 failure in 0.003 seconds
|
||||
"""
|
||||
expected = "Test Suite 'All tests' started at 2026-03-10 12:00:00\nTest Suite 'AppTests' started at 2026-03-10 12:00:00\nTest Case '-[AppTests testExample]' passed (0.001 seconds).\nTest Case '-[AppTests testFailing]' failed (0.002 seconds).\nTest Suite 'AppTests' passed at 2026-03-10 12:00:01\nExecuted 2 tests, with 1 failure in 0.003 seconds"
|
||||
|
||||
[[tests.xcodebuild]]
|
||||
name = "empty input passes through"
|
||||
input = ""
|
||||
expected = ""
|
||||
+5
-5
@@ -1579,8 +1579,8 @@ match_command = "^make\\b"
|
||||
let filters = make_filters(BUILTIN_TOML);
|
||||
assert_eq!(
|
||||
filters.len(),
|
||||
36,
|
||||
"Expected exactly 36 built-in filters, got {}. \
|
||||
47,
|
||||
"Expected exactly 47 built-in filters, got {}. \
|
||||
Update this count when adding/removing filters in src/filters/.",
|
||||
filters.len()
|
||||
);
|
||||
@@ -1637,11 +1637,11 @@ expected = "output line 1\noutput line 2"
|
||||
let combined = format!("{}\n\n{}", BUILTIN_TOML, new_filter);
|
||||
let filters = make_filters(&combined);
|
||||
|
||||
// All 36 existing filters still present + 1 new = 37
|
||||
// All 47 existing filters still present + 1 new = 48
|
||||
assert_eq!(
|
||||
filters.len(),
|
||||
37,
|
||||
"Expected 37 filters after concat (36 built-in + 1 new)"
|
||||
48,
|
||||
"Expected 48 filters after concat (47 built-in + 1 new)"
|
||||
);
|
||||
|
||||
// New filter is discoverable
|
||||
|
||||
Reference in new issue
Block a user