Skip to content

Commit

Permalink
remove test that use CFA which is not used in SP2
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Jan 31, 2018
1 parent 4ef7579 commit 64a55c1
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions test/sections_test.rb
Expand Up @@ -55,19 +55,6 @@
subject.default = "non-exist"
expect(subject.default).to eq ""
end

it "handles localized grub.cfg" do
data_path = File.expand_path("../data/grub.cfg", __FILE__)
file = CFA::MemoryFile.new(File.read(data_path))
grub_cfg = CFA::Grub2::GrubCfg.new(file_handler: file)
grub_cfg.load

sections = Bootloader::Sections.new(grub_cfg)

expect { sections.default = "openSUSE Tumbleweed, с Linux 4.8.6-2-default" }.to_not raise_error
expect { sections.default = "openSUSE Tumbleweed, \u0441 Linux 4.8.6-2-default" }.to_not raise_error
expect { sections.default = "openSUSE Tumbleweed, \xD1\x81 Linux 4.8.6-2-default" }.to_not raise_error
end
end

describe "#write" do
Expand Down

0 comments on commit 64a55c1

Please sign in to comment.