jufemaiz/aemo

Parse NEM12 raises runtime error if file has a blank meter configuration

sjauld opened this issue · 0 comments

Test file:

100,NEM12,201710271425,COMPA,COMPB
200,NEEE000010,,001,E1,N1,7416444,KWH,30

Expected result

raise ArgumentError, 'NMIConfiguration is not valid'

Actual result

undefined method `match' for nil:NilClass