summaryrefslogtreecommitdiffhomepage
path: root/spec
diff options
context:
space:
mode:
authortakahashim <[email protected]>2015-10-11 23:33:06 +0900
committertakahashim <[email protected]>2015-10-11 23:35:34 +0900
commit41d9833b00a6a6ef794b24daaa48761b2c6b3992 (patch)
treec0a4a0411a9b75cdbc77a5b5e5f3ecc4a98dbd4f /spec
parent815138042c845a74ac17dbd308f43713815c9fd8 (diff)
downloadyard-mruby-41d9833b00a6a6ef794b24daaa48761b2c6b3992.tar.gz
yard-mruby-41d9833b00a6a6ef794b24daaa48761b2c6b3992.zip
use match_array to ignore order of @yardoc.files
Diffstat (limited to 'spec')
-rw-r--r--spec/yardoc_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/yardoc_spec.rb b/spec/yardoc_spec.rb
index 1073178..2268d5b 100644
--- a/spec/yardoc_spec.rb
+++ b/spec/yardoc_spec.rb
@@ -7,6 +7,6 @@ describe YARD::CLI::Yardoc do
end
it "should use mrblib/**/*.rb src/**/*.c include/**/*.h as default file glob" do
- expect(@yardoc.files).to eq %w{mrblib/**/*.rb src/**/*.c include/**/*.h}
+ expect(@yardoc.files).to match_array(%w{mrblib/**/*.rb src/**/*.c include/**/*.h})
end
end