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",
"foreground": "#ffffff",
"properties": {
"prefix": "",
"text": "<#C591E8>❭</><#69FF94>❭</>"
}
},

View file

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

View file

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