dg-test: fix the test for new behaviour
dg-test: fix the test for new behaviour

we allowed self-loops

Signed-off-by: Marek Chalupa <a05df156a69ad59faa9af9b666ef78009594c145@gmail.com>

mchalupa/dg,mchalupa/dg,mchalupa/dg,mchalupa/dg