mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-09-15 07:53:13 +08:00

This allows you to be modify the tags from the NoteEditor. Related to #114. We still need to add some way to filter the notes by tag. Also, the current tag editor doesn't show the tags from the other notes.
25 lines
616 B
Dart
25 lines
616 B
Dart
import 'dart:collection';
|
|
|
|
import 'package:gitjournal/core/md_yaml_doc.dart';
|
|
import 'package:test/test.dart';
|
|
|
|
void main() {
|
|
test('Equality', () {
|
|
// ignore: prefer_collection_literals
|
|
var aProps = LinkedHashMap<String, dynamic>();
|
|
aProps['a'] = 1;
|
|
aProps['title'] = "Foo";
|
|
aProps['list'] = ["Foo", "Bar", 1];
|
|
|
|
// ignore: prefer_collection_literals
|
|
var bProps = LinkedHashMap<String, dynamic>();
|
|
bProps['a'] = 1;
|
|
bProps['title'] = "Foo";
|
|
bProps['list'] = ["Foo", "Bar", 1];
|
|
|
|
var a = MdYamlDoc("a", aProps);
|
|
var b = MdYamlDoc("a", bProps);
|
|
expect(a, b);
|
|
});
|
|
}
|