Fixed test

This commit is contained in:
2026-06-05 12:56:14 +02:00
parent 595ddc789d
commit b311dbd16c
12 changed files with 72 additions and 77 deletions
+7 -7
View File
@@ -1,6 +1,6 @@
struct Point {
Int x,
Int y,
i32 x,
i32 y,
}
pub void test_struct_create_access() {
@@ -22,12 +22,12 @@ pub void test_struct_destructure() {
assert_eq!(y, 4);
}
pub void test_struct_nested() {
struct Line {
Point start,
Point end,
}
struct Line {
Point start,
Point end,
}
pub void test_struct_nested() {
let l = Line {
start: Point { x: 0, y: 0 },
end: Point { x: 5, y: 10 },