summaryrefslogtreecommitdiff
path: root/benchmark/other-lang/fact.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/other-lang/fact.rb')
-rw-r--r--benchmark/other-lang/fact.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/other-lang/fact.rb b/benchmark/other-lang/fact.rb
index 7e97b22b39..6cedc752cd 100644
--- a/benchmark/other-lang/fact.rb
+++ b/benchmark/other-lang/fact.rb
@@ -6,8 +6,8 @@ def fact(n)
end
end
-i=0
+i = 0
while i<10000
- i+=1
+ i += 1
fact(100)
end