Skip to content

Commit

Permalink
fix: adjust theme alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer committed Oct 5, 2020
1 parent 592f414 commit 48be3f4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Themes/material.json
Expand Up @@ -9,6 +9,7 @@
"style": "plain",
"foreground": "#ffffff",
"properties": {
"prefix": "",
"text": "<#C591E8>❭</><#69FF94>❭</>"
}
},
Expand Down
1 change: 1 addition & 0 deletions Themes/robbyrussel.json
Expand Up @@ -9,6 +9,7 @@
"style": "plain",
"foreground": "#98C379",
"properties": {
"prefix": "",
"text": "",
"postfix": ""
}
Expand Down
4 changes: 2 additions & 2 deletions segment_exit_test.go
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down

0 comments on commit 48be3f4

Please sign in to comment.