spec/objects/function_spec.rb in qlang-0.0.14142135 vs spec/objects/function_spec.rb in qlang-0.0.27000000
- old
+ new
@@ -5,11 +5,11 @@
context 'into R' do
it do
expect(
Q.to_r.compile('f(x, y) = x + y')
).to eq(
- "f <- function(x ,y) x + y"
+ "f <- function(x, y) x + y"
)
expect(
Q.to_r.compile('g(x) = x ^ 2')
).to eq(
@@ -23,10 +23,10 @@
)
expect(
Q.to_r.compile('h(a, b, c) = a ^ 2 + b ^ 2 + c ^ 2')
).to eq(
- "h <- function(a ,b ,c) a ^ 2 + b ^ 2 + c ^ 2"
+ "h <- function(a, b, c) a ^ 2 + b ^ 2 + c ^ 2"
)
end
end
end
end