Commit e4869ed
committed
Get the test updater script working again.
When I made the style changes language versions for Dart 3.8, I changed
how tests are written to allow a single test to have different expected
outputs at different language versions.
I was pressed for time, so that broke the automated test updater which
doesn't know how to handle versions. This gets it working again.
In the process, I decided to tweak how the final newline in test files
is handled. For years, I avoided having a trailing newline because I
though it would confuse the formatter. At some point that may have even
been true. But it turns out to be fine and it's more idiomatic to have a
trailing newline at the end of a text file.
The test updater now ensures that and I went ahead and normalized all
of the tests to have trailing newlines. There are no other changes to
the test files.1 parent 44e8cfe commit e4869ed
File tree
970 files changed
+1005
-1000
lines changed- test
- short
- comments
- regression
- 0000
- 0100
- 0200
- 0300
- 0400
- 0500
- 0600
- 0700
- 0800
- 0900
- 1000
- 1100
- 1200
- 1300
- 1400
- 1500
- other
- splitting
- whitespace
- tall
- declaration
- expression
- function
- invocation
- other
- pattern
- preserve_trailing_commas
- regression
- 0000
- 0100
- 0200
- 0300
- 0400
- 0500
- 0600
- 0700
- 0800
- 0900
- 1000
- 1100
- 1200
- 1300
- 1400
- 1500
- 1600
- other
- statement
- top_level
- type
- variable
- tool
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
970 files changed
+1005
-1000
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
0 commit comments