fix: adjust theme alignment

This commit is contained in:
Jan De Dobbeleer 2020-09-30 11:27:30 +02:00 committed by Jan De Dobbeleer
parent 592f4147a2
commit 48be3f4c40
3 changed files with 4 additions and 2 deletions

View file

@ -9,6 +9,7 @@
"style": "plain", "style": "plain",
"foreground": "#ffffff", "foreground": "#ffffff",
"properties": { "properties": {
"prefix": "",
"text": "<#C591E8>❭</><#69FF94>❭</>" "text": "<#C591E8>❭</><#69FF94>❭</>"
} }
}, },

View file

@ -9,6 +9,7 @@
"style": "plain", "style": "plain",
"foreground": "#98C379", "foreground": "#98C379",
"properties": { "properties": {
"prefix": "",
"text": "→", "text": "→",
"postfix": "" "postfix": ""
} }

View file

@ -35,7 +35,7 @@ func TestExitWriterStandardCode(t *testing.T) {
env: env, env: env,
props: props, props: props,
} }
assert.Equal(t, "XSIGHUP", e.getFormattedText()) assert.Equal(t, "SIGHUP", e.getFormattedText())
} }
func TestExitWriterNonStandardCode(t *testing.T) { func TestExitWriterNonStandardCode(t *testing.T) {
@ -49,7 +49,7 @@ func TestExitWriterNonStandardCode(t *testing.T) {
env: env, env: env,
props: props, props: props,
} }
assert.Equal(t, "X5001", e.getFormattedText()) assert.Equal(t, "5001", e.getFormattedText())
} }
func TestGetMeaningFromExitCode(t *testing.T) { func TestGetMeaningFromExitCode(t *testing.T) {