From fdef133d3dc78fb5926a6a7d28ac2d3150863ef9 Mon Sep 17 00:00:00 2001 From: Akshat Gadhwal Date: Tue, 6 Oct 2020 20:56:37 +0530 Subject: [PATCH] Update test.swift --- tests/syntax-tests/source/Swift/test.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/syntax-tests/source/Swift/test.swift b/tests/syntax-tests/source/Swift/test.swift index db7ac439..b27d36ba 100644 --- a/tests/syntax-tests/source/Swift/test.swift +++ b/tests/syntax-tests/source/Swift/test.swift @@ -22,7 +22,7 @@ class Friend : Comparable { } } func < (lhs: Friend, rhs: Friend) -> Bool { - return lhs.age < rhs.age } func > (lhs: Friend, rhs: Friend) -> Bool { + return lhs.age < rhs.age }; func > (lhs: Friend, rhs: Friend) -> Bool { return lhs.age > rhs.age } func == (lhs: Friend, rhs: Friend) -> Bool { @@ -37,7 +37,7 @@ func == (lhs: Friend, rhs: Friend) -> Bool { let friend1 = Friend(name: "Sergey", age: 35) let friend2 = Friend(name: "Sergey", age: 30) - print("\Compare Friend object. Same person? (friend1 == friend2)") + print("Compare Friend object. Same person? (friend1 == friend2)") func sayHelloWorld() { print("Hello World")