More testdata formatting fixes (#1199)

This commit is contained in:
josh11b
2022-04-20 11:53:45 -07:00
committed by GitHub
parent 10b209eaa7
commit 663d67b316
22 changed files with 42 additions and 32 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ package ExecutableSemanticsTest api;
choice Ints {
None,
One(i32),
Two(i32,i32)
Two(i32, i32)
}
fn Main() -> i32 {
@@ -44,5 +44,5 @@ fn Main() -> i32 {
choice MoreInts {
None(),
One(i32),
Two(i32,i32),
Two(i32, i32),
}
+2 -1
View File
@@ -14,5 +14,6 @@ package ExecutableSemanticsTest api;
fn Main() -> i32 {
var t2: {.x: i32, .y: i32} = {.x = 2, .y = 5};
t2.y = 3;
return t2.y - t2.x - 1; // 3 - 2 - 1
// 3 - 2 - 1
return t2.y - t2.x - 1;
}