Skip to content

Commit 0942536

Browse files
ferdymercurydpiparo
authored andcommitted
[test] use new fmt flag to match previous default one to compare old result
1 parent 767460a commit 0942536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/TFormulaParsingTests.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ bool test16() {
308308
// test GetExpFormula
309309
TFormula f("f","[2] + [0]*x + [1]*x*x");
310310
f.SetParameters(1,2,3);
311-
return (f.GetExpFormula("CLING P") == TString("3.000000+1.000000*x[0]+2.000000*x[0]*x[0] ") );
311+
return (f.GetExpFormula("CLING P", "%f") == TString("3.000000+1.000000*x[0]+2.000000*x[0]*x[0] ") );
312312
}
313313

314314
bool test17() {

0 commit comments

Comments
 (0)