Skip to content

Commit

Permalink
Add a missing dummy bool value
Browse files Browse the repository at this point in the history
Seems like I forgot to add it.

PiperOrigin-RevId: 566658398
  • Loading branch information
Ilya Yanok authored and copybara-github committed Sep 19, 2023
1 parent 412c0be commit feea265
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/src/dummies.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import 'dart:async';
import 'dart:collection';
import 'dart:typed_data';

import 'mock.dart' show FakeFunctionUsedError;
import 'platform_dummies_js.dart'
if (dart.library.io) 'platform_dummies_vm.dart';
Expand Down Expand Up @@ -99,6 +100,7 @@ typedef DummyBuilder<T> = T Function(Object parent, Invocation invocation);
Map<Type, DummyBuilder> _dummyBuilders = {};

Map<Type, DummyBuilder> _defaultDummyBuilders = {
bool: (_, _i) => false,
int: (_, _i) => _dummyInt,
num: (_, _i) => _dummyInt,
double: (_, _i) => _dummyDouble,
Expand Down

0 comments on commit feea265

Please sign in to comment.