You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dateKeys-dart/test/age_writer_vm_test.dart

19 lines
511 B

// The vectors of the age writer against their file: the Dart constant that
// the tests compiled to JavaScript read is test/vectors/age_writer.json
// byte for byte, as tool/age_writer_go_vectors.go writes both.
@TestOn('vm')
library;
import 'dart:io';
import 'package:test/test.dart';
import 'vectors/age_writer.g.dart';
void main() {
test('age_writer.g.dart holds age_writer.json', () {
final file = File('test/vectors/age_writer.json').readAsStringSync();
expect(ageWriterJson, file);
});
}

Powered by TurnKey Linux.