platform/core/route/test/root_test.dart
2024-10-02 16:43:31 -07:00

15 lines
336 B
Dart

import 'package:angel3_route/angel3_route.dart';
import 'package:test/test.dart';
void main() {
test('resolve / on /', () {
var router = Router()
..group('/', (router) {
router.group('/', (router) {
router.get('/', 'ok');
});
});
expect(router.resolveAbsolute('/'), isNotNull);
});
}