Skip to content

Instantly share code, notes, and snippets.

@bayashi
Last active December 31, 2023 00:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bayashi/a4f74aa6a55733f798eaf9caa7cbc6d4 to your computer and use it in GitHub Desktop.
Save bayashi/a4f74aa6a55733f798eaf9caa7cbc6d4 to your computer and use it in GitHub Desktop.
irir-config-gotest.yaml
---
gotest:
- type: prefix
match: "--- PASS"
color: green
target: line
- type: prefix
match: "ok"
color: green
target: line
- type: prefix
match: "PASS"
color: green
target: line
- type: prefix
match: "--- FAIL"
color: red
target: line
- type: prefix
match: "FAIL"
color: red
target: line
- type: prefix
match: "--- SKIP"
color: dark_yellow
target: line
- type: match
match: "=== RUN"
color: gray
target: line
- target: line
type: match
match: "=== CONT"
color: gray
- type: match
match: "=== PAUSE"
color: gray
target: line
- type: match
match: "[no tests to run]"
color: yellow
target: word
- type: match
match: "[no test files]"
color: yellow
target: word
- type: regexp
match: '[^\/]+\.go:\d+'
color: cyan
target: word
- type: match
match: "Test name:"
color: yellow
target: line
- type: match
match: "Expected:"
color: green
target: line
- type: match
match: "Actually got:"
color: cyan
target: line
- type: match
match: "Fail reason:"
color: red
target: line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment