Commit 2fbca436 authored by Martti Käärik's avatar Martti Käärik
Browse files

No need for additional argument assignments for (predefined) function calls.

parent 449b9e2d
Loading
Loading
Loading
Loading
Loading
+9 −7
Original line number Diff line number Diff line
@@ -1936,6 +1936,7 @@ public class JUnitTestGenerator extends Renderer {
				line(";");
			}
		}
		if (function == null && predefinedFunction == null) {
			if (!arguments.isEmpty()) {
				for (ParameterBinding arg : arguments) {
					// TODO members of collection type
@@ -1945,6 +1946,7 @@ public class JUnitTestGenerator extends Renderer {
					line(";");
				}
			}
		}
		if (collectionItems != null) {
			for (DataUse item : collectionItems) {
				String itemRef = dataUseVariables.get(item);