Home | History | Annotate | Download | only in bdd
      1 Scenario: Compare CUs containing lambdas should not crash awfully
      2 
      3 Given the first class:
      4 public class ArrayListGenericDemo {
      5 
      6     public static void main(String[] args) {
      7         ArrayList<String> data = new ArrayList();
      8         data.forEach( s -> System.out.println(s));
      9     }
     10 }
     11 Given the second class:
     12 public class ArrayListGenericDemo {
     13 
     14     public static void main(String[] args) {
     15         ArrayList<String> data = new ArrayList();
     16         data.forEach( s -> System.out.println(s));
     17     }
     18 }
     19 Then they are equals
     20