diff --git a/test/src/attributes/scalars/scalar_util_test.dart b/test/src/attributes/scalars/scalar_util_test.dart index 2f8638347..030bdb04e 100644 --- a/test/src/attributes/scalars/scalar_util_test.dart +++ b/test/src/attributes/scalars/scalar_util_test.dart @@ -162,11 +162,11 @@ void main() { const utility = ImageRepeatUtility(UtilityTestAttribute.new); test('Properties are initialized correctly', () { expect(utility.noRepeat().value, isA()); - expect(utility.repeat().value, isA()); + expect(utility().value, isA()); expect(utility.repeatX().value, isA()); expect(utility.repeatY().value, isA()); expect(utility.noRepeat().value, ImageRepeat.noRepeat); - expect(utility.repeat().value, ImageRepeat.repeat); + expect(utility().value, ImageRepeat.repeat); expect(utility.repeatX().value, ImageRepeat.repeatX); expect(utility.repeatY().value, ImageRepeat.repeatY); });