Skip to content

Commit 9cf22f0

Browse files
committed
Regenerate JSON code from a clean build and format the wrap test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SyH8twyrBoe4wFCTw78Cz5
1 parent a679d08 commit 9cf22f0

3 files changed

Lines changed: 15 additions & 16 deletions

File tree

‎lib/src/api/nodes/expansion_tile_node.g.dart‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/src/api/nodes/row_column_node.g.dart‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎test/row_column_wrap_test.dart‎

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,16 @@ import 'dart:convert';
33
import 'package:codelessly_api/codelessly_api.dart';
44
import 'package:test/test.dart';
55

6-
RowColumnNode _row({bool wrap = false, double runSpacing = 0}) =>
7-
RowColumnNode(
8-
id: 'row',
9-
name: 'Row',
10-
basicBoxLocal: NodeBox(0, 0, 330, 100),
11-
children: const ['a', 'b', 'c'],
12-
rowColumnType: RowColumnType.row,
13-
spacing: 8,
14-
wrap: wrap,
15-
runSpacing: runSpacing,
16-
);
6+
RowColumnNode _row({bool wrap = false, double runSpacing = 0}) => RowColumnNode(
7+
id: 'row',
8+
name: 'Row',
9+
basicBoxLocal: NodeBox(0, 0, 330, 100),
10+
children: const ['a', 'b', 'c'],
11+
rowColumnType: RowColumnType.row,
12+
spacing: 8,
13+
wrap: wrap,
14+
runSpacing: runSpacing,
15+
);
1716

1817
void main() {
1918
group('RowColumnNode wrap', () {
@@ -27,9 +26,9 @@ void main() {
2726
});
2827

2928
test('round-trips wrap and runSpacing', () {
30-
final json =
31-
jsonDecode(jsonEncode(_row(wrap: true, runSpacing: 12).toJson()))
32-
as Map;
29+
final json = jsonDecode(
30+
jsonEncode(_row(wrap: true, runSpacing: 12).toJson()),
31+
) as Map;
3332
expect(json['wrap'], isTrue);
3433
expect(json['runSpacing'], 12);
3534
final decoded = RowColumnNode.fromJson(json);

0 commit comments

Comments
 (0)