mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-01 22:02:45 +01:00
More testdata formatting fixes (#1199)
This commit is contained in:
@@ -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),
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user