Format carbon test files (#1197)

This commit is contained in:
josh11b authored and GitHub committed 2022-04-19 16:10:11 -07:00
1 parent 55b0a0e016
commit 958fb8e529
18 files changed
+22 -31

No files matched your search

@@ -7,12 +7,11 @@
// RUN: %{not} %{executable_semantics} --parser_debug --trace_file=- %s 2>&1 | \
// RUN: %{FileCheck} --match-full-lines --allow-unused-prefixes %s
// AUTOUPDATE: %{executable_semantics} %s
// CHECK: COMPILATION ERROR: {{.*}}/executable_semantics/testdata/generic_class/fail_bad_parameter_type.carbon:16: unexpected type of deduced parameter i32
// CHECK: COMPILATION ERROR: {{.*}}/executable_semantics/testdata/generic_class/fail_bad_parameter_type.carbon:15: unexpected type of deduced parameter i32
package ExecutableSemanticsTest api;
class Point(T:! i32) {
fn Origin(zero: T) -> Point(T) {
return {.x = zero, .y = zero};
}
@@ -12,7 +12,6 @@
package ExecutableSemanticsTest api;
class Point(T:! Type) {
fn Origin(zero: T) -> Point(T) {
return {.x = zero, .y = zero};
}