Skip to content

Commit fb8f765

Browse files
committed
test: add mockfiles
1 parent 65cd7b7 commit fb8f765

File tree

8 files changed

+136
-4
lines changed

8 files changed

+136
-4
lines changed

test/mocks/openapi-1.2.3-crlf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ externalDocs:
99
description: Find out more
1010
url: https://example.com/foo/bar
1111
servers:
12-
- url: http://example.com
12+
- url: http://example.com

test/mocks/openapi-1.2.3-lf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ externalDocs:
99
description: Find out more
1010
url: https://example.com/foo/bar
1111
servers:
12-
- url: http://example.com
12+
- url: http://example.com

test/mocks/openapi-1.3.0-crlf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ externalDocs:
99
description: Find out more
1010
url: https://example.com/foo/bar
1111
servers:
12-
- url: http://example.com
12+
- url: http://example.com

test/mocks/openapi-1.3.0-lf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ externalDocs:
99
description: Find out more
1010
url: https://example.com/foo/bar
1111
servers:
12-
- url: http://example.com
12+
- url: http://example.com

test/mocks/pubspec-6.3.1-crlf.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This is a comment that should be preserved
2+
name: mock
3+
description: "A mock YAML file"
4+
version: 6.3.1
5+
6+
environment:
7+
dart: ">=3.2.6 <4.0.0"
8+
flutter: ">=1.17.0"
9+
10+
dependencies:
11+
flutter:
12+
sdk: flutter
13+
14+
dev_dependencies:
15+
flutter_test:
16+
sdk: flutter
17+
18+
# For information on the generic Dart part of this file, see the
19+
# following page: https://dart.dev/tools/pub/pubspec
20+
21+
# The following section is specific to Flutter packages.
22+
flutter:
23+
uses-material-design: true
24+
generate: true
25+
26+
# More comments here nested under one entry
27+
#
28+
# These comments should also be preserved.
29+
30+
# Another comment block, separated from the first one
31+
assets:
32+
- assets/icons/
33+
- assets/images/

test/mocks/pubspec-6.3.1.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This is a comment that should be preserved
2+
name: mock
3+
description: "A mock YAML file"
4+
version: 6.3.1
5+
6+
environment:
7+
dart: ">=3.2.6 <4.0.0"
8+
flutter: ">=1.17.0"
9+
10+
dependencies:
11+
flutter:
12+
sdk: flutter
13+
14+
dev_dependencies:
15+
flutter_test:
16+
sdk: flutter
17+
18+
# For information on the generic Dart part of this file, see the
19+
# following page: https://dart.dev/tools/pub/pubspec
20+
21+
# The following section is specific to Flutter packages.
22+
flutter:
23+
uses-material-design: true
24+
generate: true
25+
26+
# More comments here nested under one entry
27+
#
28+
# These comments should also be preserved.
29+
30+
# Another comment block, separated from the first one
31+
assets:
32+
- assets/icons/
33+
- assets/images/

test/mocks/pubspec-6.4.0-crlf.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This is a comment that should be preserved
2+
name: mock
3+
description: "A mock YAML file"
4+
version: 6.4.0
5+
6+
environment:
7+
dart: ">=3.2.6 <4.0.0"
8+
flutter: ">=1.17.0"
9+
10+
dependencies:
11+
flutter:
12+
sdk: flutter
13+
14+
dev_dependencies:
15+
flutter_test:
16+
sdk: flutter
17+
18+
# For information on the generic Dart part of this file, see the
19+
# following page: https://dart.dev/tools/pub/pubspec
20+
21+
# The following section is specific to Flutter packages.
22+
flutter:
23+
uses-material-design: true
24+
generate: true
25+
26+
# More comments here nested under one entry
27+
#
28+
# These comments should also be preserved.
29+
30+
# Another comment block, separated from the first one
31+
assets:
32+
- assets/icons/
33+
- assets/images/

test/mocks/pubspec-6.4.0.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This is a comment that should be preserved
2+
name: mock
3+
description: "A mock YAML file"
4+
version: 6.4.0
5+
6+
environment:
7+
dart: ">=3.2.6 <4.0.0"
8+
flutter: ">=1.17.0"
9+
10+
dependencies:
11+
flutter:
12+
sdk: flutter
13+
14+
dev_dependencies:
15+
flutter_test:
16+
sdk: flutter
17+
18+
# For information on the generic Dart part of this file, see the
19+
# following page: https://dart.dev/tools/pub/pubspec
20+
21+
# The following section is specific to Flutter packages.
22+
flutter:
23+
uses-material-design: true
24+
generate: true
25+
26+
# More comments here nested under one entry
27+
#
28+
# These comments should also be preserved.
29+
30+
# Another comment block, separated from the first one
31+
assets:
32+
- assets/icons/
33+
- assets/images/

0 commit comments

Comments
 (0)