target lambda & afr log fields broken #4727
This commit is contained in:
parent
5c8cf7fd10
commit
b1dc928b72
|
@ -61,7 +61,6 @@ public class OutputsTest {
|
|||
|
||||
/**
|
||||
* while we have {@link OutputChannelWriter} here we use the current 'legacy' implementation
|
||||
*
|
||||
*/
|
||||
private static OutputsSectionConsumer runOriginalImplementation(String test) {
|
||||
ReaderState state = new ReaderState();
|
||||
|
@ -201,4 +200,18 @@ public class OutputsTest {
|
|||
"\ttriggerSimulatorPins2 = \"Each rusEFI piece can provide synthetic trigger signal for external ECU. Sometimes these wires are routed back into trigger inputs of the same rusEFI board.\"\n" +
|
||||
"\ttriggerSimulatorPins3 = \"Each rusEFI piece can provide synthetic trigger signal for external ECU. Sometimes these wires are routed back into trigger inputs of the same rusEFI board.\"\n", tsProjectConsumer.getSettingContextHelp().toString());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void nameDuplicate() {
|
||||
String test = "struct total\n" +
|
||||
"float afr_type;PID dTime;\"ms\", 1, 0, 0, 3000, 0\n" +
|
||||
"uint8_t afr_type;123;\"ms\", 1, 0, 0, 3000, 0\n" +
|
||||
"end_struct\n";
|
||||
|
||||
|
||||
String expectedLegacy = "afr_type = scalar, F32, 0, \"ms\", 1, 0\n" +
|
||||
"afr_type = scalar, U08, 0, \"ms\", 1, 0\n" +
|
||||
"; total TS size = 1\n";
|
||||
assertEquals(expectedLegacy, runOriginalImplementation(test).getContent());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue