From 5cf73e38a2e1baf5ba407b74195368c7e39b1ab1 Mon Sep 17 00:00:00 2001 From: "Brian J. Cardiff" Date: Sat, 1 Dec 2018 11:06:19 -0300 Subject: [PATCH] Fix build. Update recent specs of doc generator --- spec/compiler/crystal/tools/doc/generator_spec.cr | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/spec/compiler/crystal/tools/doc/generator_spec.cr b/spec/compiler/crystal/tools/doc/generator_spec.cr index df9d0084b573..226d50093f98 100644 --- a/spec/compiler/crystal/tools/doc/generator_spec.cr +++ b/spec/compiler/crystal/tools/doc/generator_spec.cr @@ -4,7 +4,7 @@ describe Doc::Generator do describe "must_include_toplevel?" do it "returns false if program has nothing" do program = Program.new - generator = Doc::Generator.new program, ["foo"], ".", nil + generator = Doc::Generator.new program, ["foo"], ".", "html", nil doc_type = Doc::Type.new generator, program generator.must_include_toplevel?(doc_type).should be_false @@ -12,7 +12,7 @@ describe Doc::Generator do it "returns true if program has constant" do program = Program.new - generator = Doc::Generator.new program, ["foo"], ".", nil + generator = Doc::Generator.new program, ["foo"], ".", "html", nil doc_type = Doc::Type.new generator, program constant = Const.new program, program, "Foo", 1.int32 @@ -24,7 +24,7 @@ describe Doc::Generator do it "returns false if program has constant which is defined in other place" do program = Program.new - generator = Doc::Generator.new program, ["foo"], ".", nil + generator = Doc::Generator.new program, ["foo"], ".", "html", nil doc_type = Doc::Type.new generator, program constant = Const.new program, program, "Foo", 1.int32 @@ -36,7 +36,7 @@ describe Doc::Generator do it "returns true if program has macro" do program = Program.new - generator = Doc::Generator.new program, ["foo"], ".", nil + generator = Doc::Generator.new program, ["foo"], ".", "html", nil doc_type = Doc::Type.new generator, program a_macro = Macro.new "foo" @@ -48,7 +48,7 @@ describe Doc::Generator do it "returns false if program has macro which is defined in other place" do program = Program.new - generator = Doc::Generator.new program, ["foo"], ".", nil + generator = Doc::Generator.new program, ["foo"], ".", "html", nil doc_type = Doc::Type.new generator, program a_macro = Macro.new "foo" @@ -60,7 +60,7 @@ describe Doc::Generator do it "returns true if program has method" do program = Program.new - generator = Doc::Generator.new program, ["foo"], ".", nil + generator = Doc::Generator.new program, ["foo"], ".", "html", nil doc_type = Doc::Type.new generator, program a_def = Def.new "foo" @@ -72,7 +72,7 @@ describe Doc::Generator do it "returns false if program has method which is defined in other place" do program = Program.new - generator = Doc::Generator.new program, ["foo"], ".", nil + generator = Doc::Generator.new program, ["foo"], ".", "html", nil doc_type = Doc::Type.new generator, program a_def = Def.new "foo"