mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-26 11:34:04 -08:00
fix: adjust theme alignment
This commit is contained in:
parent
592f4147a2
commit
48be3f4c40
|
@ -9,6 +9,7 @@
|
|||
"style": "plain",
|
||||
"foreground": "#ffffff",
|
||||
"properties": {
|
||||
"prefix": "",
|
||||
"text": "<#C591E8>❭</><#69FF94>❭</>"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
"style": "plain",
|
||||
"foreground": "#98C379",
|
||||
"properties": {
|
||||
"prefix": "",
|
||||
"text": "→",
|
||||
"postfix": ""
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue