Skip to content

Commit 04169ec

Browse files
committedApr 2, 2025·
update crystal samples
1 parent c4a6c4a commit 04169ec

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# OpenAPI Petstore
1+
# #OpenAPI Petstore
22
#
3-
# This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
3+
##This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
44
#
5-
# The version of the OpenAPI document: 1.0.0
5+
#The version of the OpenAPI document: 1.0.0
66
#
7-
# Generated by: https://openapi-generator.tech
8-
# Generator version: 7.13.0-SNAPSHOT
7+
#Generated by: https://openapi-generator.tech
8+
#Generator version: 7.13.0-SNAPSHOT
99
#
1010

1111
# load modules
@@ -17,7 +17,7 @@ require "../src/petstore"
1717
def assert_compilation_error(path : String, message : String) : Nil
1818
buffer = IO::Memory.new
1919
result = Process.run("crystal", ["run", "--no-color", "--no-codegen", path], error: buffer)
20-
expect(result.success?).to be_false
21-
expect(buffer.to_s).to contain message
20+
result.success?.should be_false
21+
buffer.to_s.should contain message
2222
buffer.close
2323
end

0 commit comments

Comments
 (0)
Please sign in to comment.