Clean up tab vs space issues

discovered by @axelstudios
This commit is contained in:
Jason Turner
2014-05-23 09:56:55 -06:00
parent be9632d0ad
commit 46e7d0ab99
23 changed files with 86 additions and 86 deletions

View File

@@ -1,7 +1,7 @@
var i = 0
while (i < 10) {
if (++i == 5) {
break
}
if (++i == 5) {
break
}
}
assert_equal(5, i);

View File

@@ -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())

View File

@@ -1,5 +1,5 @@
def sam() {
return 5
return 5
}
assert_equal(5, sam())

View File

@@ -1,4 +1,4 @@
def greet {
return("hello")
return("hello")
}

View File

@@ -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;
}

View File

@@ -1,7 +1,7 @@
auto i = 0
while (i < 10) {
if (++i == 5) {
break
}
if (++i == 5) {
break
}
}
assert_equal(5, i);

View File

@@ -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())

View File

@@ -1,5 +1,5 @@
def sam() {
return 5
return 5
}
assert_equal(5, sam())

View File

@@ -1,4 +1,4 @@
def greet {
return("hello")
return("hello")
}