From a57d53fe873ebcc2f0af1aa195a49874d15fd45b Mon Sep 17 00:00:00 2001 From: Tarekk Mohamed Abdalla Date: Thu, 18 Nov 2021 21:06:38 +0200 Subject: [PATCH] small rewording for the assert message --- lib/src/models/documents/nodes/embed.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/models/documents/nodes/embed.dart b/lib/src/models/documents/nodes/embed.dart index 18c550fe..66a3013f 100644 --- a/lib/src/models/documents/nodes/embed.dart +++ b/lib/src/models/documents/nodes/embed.dart @@ -19,7 +19,7 @@ class Embeddable { static Embeddable fromJson(Map json) { final m = Map.from(json); - assert(m.length == 1, 'Embeddable map has one key'); + assert(m.length == 1, 'Embeddable map must only have one key'); return BlockEmbed(m.keys.first, m.values.first); }