fix $rs->populate([]) to be a no-op rather than an exception
[dbsrgits/DBIx-Class.git] / t / 101populate_rs.t
index a2a2615..6caf01e 100644 (file)
@@ -686,4 +686,6 @@ ARRAYREF_OF_ARRAYREF_STYLE: {
   }
 }
 
+ok(eval { $art_rs->populate([]); 1 }, "Empty populate runs but does nothing");
+
 done_testing;