diff --git a/samples/client/petstore/crystal/spec/spec_helper.cr b/samples/client/petstore/crystal/spec/spec_helper.cr index 66c09281983..30af7ed77ef 100644 --- a/samples/client/petstore/crystal/spec/spec_helper.cr +++ b/samples/client/petstore/crystal/spec/spec_helper.cr @@ -1,11 +1,11 @@ -# OpenAPI Petstore +# #OpenAPI Petstore # -# This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. +##This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. # -# The version of the OpenAPI document: 1.0.0 +#The version of the OpenAPI document: 1.0.0 # -# Generated by: https://openapi-generator.tech -# Generator version: 7.13.0-SNAPSHOT +#Generated by: https://openapi-generator.tech +#Generator version: 7.13.0-SNAPSHOT # # load modules @@ -17,7 +17,7 @@ require "../src/petstore" def assert_compilation_error(path : String, message : String) : Nil buffer = IO::Memory.new result = Process.run("crystal", ["run", "--no-color", "--no-codegen", path], error: buffer) - expect(result.success?).to be_false - expect(buffer.to_s).to contain message + result.success?.should be_false + buffer.to_s.should contain message buffer.close end