Test error in tracks/go/exercises/lasagna-master

Hi guys!

I see an error in testing the function, specifically in this test, the expected result is not correctly calculated. Please check!
My option is the following:

{
name: "scales up correctly",
input: []float64{0.5, 250, 150, 3, 0.5},
portions: 6,
expected: []float64{2, 1000, 600, 12, 2},
},

link to err

can i do PR? 10x

Could you please share your solution and explain why you think the test is wrong?

I’m sorry, I found an error in the code and fixed it.
Thanks!

1 Like