You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I was attempting to use eo-yaml with an extremely basic test, and I immediately ran into an issue...
static public class Test {
private List<String> entries = new ArrayList<>();
public List<String> getEntries() {
return entries;
}
public void setEntries(List<String> entries) {
this.entries = entries;
}
}
public static void main(String[] args) {
Test m = new Test();
m.entries.add("Test1");
m.entries.add("Test2");
m.entries.add("Test3");
System.out.println(Yaml.createYamlDump(m).dumpMapping());
}
The result of running this code is:
entries:
- Test1
- Test2
If you include Test4 in the example code, then the output will go up to Test3, etc. The final entry does not get included.
The text was updated successfully, but these errors were encountered:
@Beetle-Lord I added the exact scenario as a unit test here and it passes with no problems. What version of the library are you using? We release quite often so you always want to take the latest version.
Hello. I was attempting to use eo-yaml with an extremely basic test, and I immediately ran into an issue...
The result of running this code is:
If you include Test4 in the example code, then the output will go up to Test3, etc. The final entry does not get included.
The text was updated successfully, but these errors were encountered: