diff options
author | Tim Smith <tsmith@chef.io> | 2020-04-10 16:46:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-10 16:46:08 -0700 |
commit | 28cd25b44757ab9b51cd1f954ac28be3e682cf0e (patch) | |
tree | 1d78d5ab5c28f6e7bf7e3f553464b67a38851fb9 | |
parent | 5a3919041d6818647628aeb637b028dd19e0196e (diff) | |
parent | 81d5307cd2b7bdddad85ad1909d957e0e2802c0b (diff) | |
download | ohai-28cd25b44757ab9b51cd1f954ac28be3e682cf0e.tar.gz |
Merge pull request #1449 from chef/fix-chefstyle
Fix chefstyle violations.
-rw-r--r-- | spec/unit/plugins/linux/interrupts_spec.rb | 6 | ||||
-rw-r--r-- | spec/unit/plugins/linux/ipc_spec.rb | 14 |
2 files changed, 10 insertions, 10 deletions
diff --git a/spec/unit/plugins/linux/interrupts_spec.rb b/spec/unit/plugins/linux/interrupts_spec.rb index 53fa8a5b..abed19e0 100644 --- a/spec/unit/plugins/linux/interrupts_spec.rb +++ b/spec/unit/plugins/linux/interrupts_spec.rb @@ -96,9 +96,9 @@ describe Ohai::System, "Linux interrupts plugin" do "device" => "timer", "events_by_cpu" => { 0 => 10, - 1 => 0, - 2 => 0, - 3 => 0, + 1 => 0, + 2 => 0, + 3 => 0, }, "type" => "IR-IO-APIC", "vector" => "2-edge", diff --git a/spec/unit/plugins/linux/ipc_spec.rb b/spec/unit/plugins/linux/ipc_spec.rb index ed639a1e..1379007b 100644 --- a/spec/unit/plugins/linux/ipc_spec.rb +++ b/spec/unit/plugins/linux/ipc_spec.rb @@ -26,14 +26,14 @@ describe Ohai::System, "Linux ipc plugin" do end it "populates ipc if ipcs is available" do - ipcs_out = <<-IPCS_OUT + ipcs_out = <<~IPCS_OUT ------- Shared Memory Segments -------- -key shmid owner perms bytes nattch status -0x00000000 131072 dcavalca 600 524288 2 dest -0x00000000 38993921 dcavalca 600 393216 2 dest -0x00000000 39092226 dcavalca 600 524288 2 dest -0x00000000 9437188 dcavalca 600 524288 2 dest + ------ Shared Memory Segments -------- + key shmid owner perms bytes nattch status + 0x00000000 131072 dcavalca 600 524288 2 dest + 0x00000000 38993921 dcavalca 600 393216 2 dest + 0x00000000 39092226 dcavalca 600 524288 2 dest + 0x00000000 9437188 dcavalca 600 524288 2 dest IPCS_OUT |