mirror of
https://github.com/nix-community/home-manager
synced 2024-12-03 16:39:46 +01:00
i3status-rust: fix tests
Nix 2.12.0 slightly changed the JSON output format. This updates the i3status-rust test cases to match.
This commit is contained in:
parent
054d9e3187
commit
263f6e4523
4 changed files with 8 additions and 8 deletions
|
@ -102,14 +102,14 @@ with lib;
|
||||||
icons = "awesome5"
|
icons = "awesome5"
|
||||||
theme = "gruvbox-dark"
|
theme = "gruvbox-dark"
|
||||||
[[block]]
|
[[block]]
|
||||||
alert = 10
|
alert = 10.0
|
||||||
alias = "/"
|
alias = "/"
|
||||||
block = "disk_space"
|
block = "disk_space"
|
||||||
info_type = "available"
|
info_type = "available"
|
||||||
interval = 60
|
interval = 60
|
||||||
path = "/"
|
path = "/"
|
||||||
unit = "GB"
|
unit = "GB"
|
||||||
warning = 20
|
warning = 20.0
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "memory"
|
block = "memory"
|
||||||
|
|
|
@ -16,14 +16,14 @@ with lib;
|
||||||
icons = "none"
|
icons = "none"
|
||||||
theme = "plain"
|
theme = "plain"
|
||||||
[[block]]
|
[[block]]
|
||||||
alert = 10
|
alert = 10.0
|
||||||
alias = "/"
|
alias = "/"
|
||||||
block = "disk_space"
|
block = "disk_space"
|
||||||
info_type = "available"
|
info_type = "available"
|
||||||
interval = 60
|
interval = 60
|
||||||
path = "/"
|
path = "/"
|
||||||
unit = "GB"
|
unit = "GB"
|
||||||
warning = 20
|
warning = 20.0
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "memory"
|
block = "memory"
|
||||||
|
|
|
@ -111,14 +111,14 @@ with lib;
|
||||||
pkgs.writeText "i3status-rust-expected-config" ''
|
pkgs.writeText "i3status-rust-expected-config" ''
|
||||||
icons = "awesome5"
|
icons = "awesome5"
|
||||||
[[block]]
|
[[block]]
|
||||||
alert = 10
|
alert = 10.0
|
||||||
alias = "/"
|
alias = "/"
|
||||||
block = "disk_space"
|
block = "disk_space"
|
||||||
info_type = "available"
|
info_type = "available"
|
||||||
interval = 60
|
interval = 60
|
||||||
path = "/"
|
path = "/"
|
||||||
unit = "GB"
|
unit = "GB"
|
||||||
warning = 20
|
warning = 20.0
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "memory"
|
block = "memory"
|
||||||
|
|
|
@ -62,14 +62,14 @@ with lib;
|
||||||
icons = "none"
|
icons = "none"
|
||||||
theme = "plain"
|
theme = "plain"
|
||||||
[[block]]
|
[[block]]
|
||||||
alert = 10
|
alert = 10.0
|
||||||
alias = "/"
|
alias = "/"
|
||||||
block = "disk_space"
|
block = "disk_space"
|
||||||
info_type = "available"
|
info_type = "available"
|
||||||
interval = 60
|
interval = 60
|
||||||
path = "/"
|
path = "/"
|
||||||
unit = "GB"
|
unit = "GB"
|
||||||
warning = 20
|
warning = 20.0
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "memory"
|
block = "memory"
|
||||||
|
|
Loading…
Reference in a new issue