dimanche 17 février 2019

How to test dart class static constant?

enter image description here

Here is my test code:

 test('should set correct constant', (){
    expect(Stores.CurrentContext, 'currentContext');
  });

but the picture above shows that the code not tested. and why?

Aucun commentaire:

Enregistrer un commentaire