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