Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit 8d6b174

Browse files
author
Peter Souter
committed
Change indentation
If we're using EOS, might as well make it accurate
1 parent 5fadea1 commit 8d6b174

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/unit/facter/java_version_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111
context 'returns java version when java present' do
1212
it do
1313
java_version_output = <<-EOS
14-
java version "1.7.0_71"
15-
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
16-
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
14+
java version "1.7.0_71"
15+
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
16+
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
1717
EOS
1818
allow(Facter::Util::Resolution).to receive(:exec).with("java -version 2>&1").
1919
and_return(java_version_output)
2020
Facter.fact(:java_version).value.should == "1.7.0_71"
2121
end
2222
end
2323

24-
context 'returns java version when java present' do
24+
context 'returns nil when java present' do
2525
it do
2626
java_version_output = "bash: java: command not found"
2727
allow(Facter::Util::Resolution).to receive(:exec).with("java -version 2>&1").

0 commit comments

Comments
 (0)