Clean up tab vs space issues
discovered by @axelstudios
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
var i = 0
|
||||
while (i < 10) {
|
||||
if (++i == 5) {
|
||||
break
|
||||
}
|
||||
if (++i == 5) {
|
||||
break
|
||||
}
|
||||
}
|
||||
assert_equal(5, i);
|
||||
|
@@ -1,17 +1,17 @@
|
||||
def bob(x, y, z) {
|
||||
x + y + z
|
||||
x + y + z
|
||||
}
|
||||
|
||||
def bob(x, y) {
|
||||
x - y
|
||||
x - y
|
||||
}
|
||||
|
||||
def bob(x) {
|
||||
-x
|
||||
-x
|
||||
}
|
||||
|
||||
def bob() {
|
||||
10
|
||||
10
|
||||
}
|
||||
|
||||
assert_equal(10, bob())
|
||||
|
@@ -1,5 +1,5 @@
|
||||
def sam() {
|
||||
return 5
|
||||
return 5
|
||||
}
|
||||
|
||||
assert_equal(5, sam())
|
||||
|
@@ -1,4 +1,4 @@
|
||||
def greet {
|
||||
return("hello")
|
||||
return("hello")
|
||||
}
|
||||
|
||||
|
@@ -44,9 +44,9 @@ bool test_type_conversion(const Boxed_Value &bv, bool expectedpass)
|
||||
if (!ret)
|
||||
{
|
||||
std::cerr << "Error with type conversion test. From: "
|
||||
<< (bv.is_const()?(std::string("const ")):(std::string())) << bv.get_type_info().name()
|
||||
<< " To: "
|
||||
<< (std::is_const<To>::value?(std::string("const ")):(std::string())) << typeid(To).name()
|
||||
<< (bv.is_const()?(std::string("const ")):(std::string())) << bv.get_type_info().name()
|
||||
<< " To: "
|
||||
<< (std::is_const<To>::value?(std::string("const ")):(std::string())) << typeid(To).name()
|
||||
<< " test was expected to " << ((expectedpass)?(std::string("succeed")):(std::string("fail"))) << " but did not" << std::endl;
|
||||
}
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
auto i = 0
|
||||
while (i < 10) {
|
||||
if (++i == 5) {
|
||||
break
|
||||
}
|
||||
if (++i == 5) {
|
||||
break
|
||||
}
|
||||
}
|
||||
assert_equal(5, i);
|
||||
|
@@ -1,17 +1,17 @@
|
||||
def bob(x, y, z) {
|
||||
x + y + z
|
||||
x + y + z
|
||||
}
|
||||
|
||||
def bob(x, y) {
|
||||
x - y
|
||||
x - y
|
||||
}
|
||||
|
||||
def bob(x) {
|
||||
-x
|
||||
-x
|
||||
}
|
||||
|
||||
def bob() {
|
||||
10
|
||||
10
|
||||
}
|
||||
|
||||
assert_equal(10, bob())
|
||||
|
@@ -1,5 +1,5 @@
|
||||
def sam() {
|
||||
return 5
|
||||
return 5
|
||||
}
|
||||
|
||||
assert_equal(5, sam())
|
||||
|
@@ -1,4 +1,4 @@
|
||||
def greet {
|
||||
return("hello")
|
||||
return("hello")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user