Skip to content

Commit

Permalink
test: add mockfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
ixuz committed Apr 18, 2024
1 parent 65cd7b7 commit fb8f765
Show file tree
Hide file tree
Showing 8 changed files with 136 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/mocks/openapi-1.2.3-crlf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ externalDocs:
description: Find out more
url: https://example.com/foo/bar
servers:
- url: http://example.com
- url: http://example.com
2 changes: 1 addition & 1 deletion test/mocks/openapi-1.2.3-lf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ externalDocs:
description: Find out more
url: https://example.com/foo/bar
servers:
- url: http://example.com
- url: http://example.com
2 changes: 1 addition & 1 deletion test/mocks/openapi-1.3.0-crlf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ externalDocs:
description: Find out more
url: https://example.com/foo/bar
servers:
- url: http://example.com
- url: http://example.com
2 changes: 1 addition & 1 deletion test/mocks/openapi-1.3.0-lf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ externalDocs:
description: Find out more
url: https://example.com/foo/bar
servers:
- url: http://example.com
- url: http://example.com
33 changes: 33 additions & 0 deletions test/mocks/pubspec-6.3.1-crlf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This is a comment that should be preserved
name: mock
description: "A mock YAML file"
version: 6.3.1

environment:
dart: ">=3.2.6 <4.0.0"
flutter: ">=1.17.0"

dependencies:
flutter:
sdk: flutter

dev_dependencies:
flutter_test:
sdk: flutter

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter packages.
flutter:
uses-material-design: true
generate: true

# More comments here nested under one entry
#
# These comments should also be preserved.

# Another comment block, separated from the first one
assets:
- assets/icons/
- assets/images/
33 changes: 33 additions & 0 deletions test/mocks/pubspec-6.3.1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This is a comment that should be preserved
name: mock
description: "A mock YAML file"
version: 6.3.1

environment:
dart: ">=3.2.6 <4.0.0"
flutter: ">=1.17.0"

dependencies:
flutter:
sdk: flutter

dev_dependencies:
flutter_test:
sdk: flutter

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter packages.
flutter:
uses-material-design: true
generate: true

# More comments here nested under one entry
#
# These comments should also be preserved.

# Another comment block, separated from the first one
assets:
- assets/icons/
- assets/images/
33 changes: 33 additions & 0 deletions test/mocks/pubspec-6.4.0-crlf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This is a comment that should be preserved
name: mock
description: "A mock YAML file"
version: 6.4.0

environment:
dart: ">=3.2.6 <4.0.0"
flutter: ">=1.17.0"

dependencies:
flutter:
sdk: flutter

dev_dependencies:
flutter_test:
sdk: flutter

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter packages.
flutter:
uses-material-design: true
generate: true

# More comments here nested under one entry
#
# These comments should also be preserved.

# Another comment block, separated from the first one
assets:
- assets/icons/
- assets/images/
33 changes: 33 additions & 0 deletions test/mocks/pubspec-6.4.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This is a comment that should be preserved
name: mock
description: "A mock YAML file"
version: 6.4.0

environment:
dart: ">=3.2.6 <4.0.0"
flutter: ">=1.17.0"

dependencies:
flutter:
sdk: flutter

dev_dependencies:
flutter_test:
sdk: flutter

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter packages.
flutter:
uses-material-design: true
generate: true

# More comments here nested under one entry
#
# These comments should also be preserved.

# Another comment block, separated from the first one
assets:
- assets/icons/
- assets/images/

0 comments on commit fb8f765

Please sign in to comment.