Skip to content

Commit 532e3cd

Browse files
committed
Spec tweaks for running on windows.
1 parent 0b218f2 commit 532e3cd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

spec/model_uri_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@
620620
%w(http://foo/bar# /a) => "<http://foo/a>",
621621
%w(http://foo/bar# #a) => "<http://foo/bar#a>",
622622

623-
%w(http://a/bb/ccc/.. g:h) => "<g:h>",
623+
%w(http://a/bb/ccc/.. gg:h) => "<gg:h>",
624624
%w(http://a/bb/ccc/.. g) => "<http://a/bb/ccc/g>",
625625
%w(http://a/bb/ccc/.. ./g) => "<http://a/bb/ccc/g>",
626626
%w(http://a/bb/ccc/.. g/) => "<http://a/bb/ccc/g/>",

spec/ntriples_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@
630630
expect(output.string).to eq "#{stmt_string}\n"
631631
end
632632

633-
it "should dump statements to a file" do
633+
it "should dump statements to a file", skip: ('not windows' if Gem.win_platform?) do
634634
require 'tmpdir' # for Dir.tmpdir
635635
writer.dump(graph, filename = File.join(Dir.tmpdir, "test.nt"))
636636
expect(File.read(filename)).to eq "#{stmt_string}\n"

0 commit comments

Comments
 (0)