aboutsummaryrefslogtreecommitdiff
path: root/Tests/NorgKeyboardToolbarTests/EditorSnippet+PresentationTests.swift
diff options
context:
space:
mode:
authorRuben Beltran del Rio <jj@r.bdr.sh>2026-06-14 17:07:38 +0200
committerRuben Beltran del Rio <jj@r.bdr.sh>2026-06-15 13:38:02 +0200
commit3402f5764f794a60f85a152a13c4eacaa2a719f6 (patch)
tree9fafe13da4caee303313033e313461a556f9f495 /Tests/NorgKeyboardToolbarTests/EditorSnippet+PresentationTests.swift
Extract from Norganizer
Diffstat (limited to 'Tests/NorgKeyboardToolbarTests/EditorSnippet+PresentationTests.swift')
-rw-r--r--Tests/NorgKeyboardToolbarTests/EditorSnippet+PresentationTests.swift13
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/NorgKeyboardToolbarTests/EditorSnippet+PresentationTests.swift b/Tests/NorgKeyboardToolbarTests/EditorSnippet+PresentationTests.swift
new file mode 100644
index 0000000..e31df1b
--- /dev/null
+++ b/Tests/NorgKeyboardToolbarTests/EditorSnippet+PresentationTests.swift
@@ -0,0 +1,13 @@
+import Testing
+
+@testable import NorgKeyboardToolbar
+
+struct EditorSnippetPresentationTests {
+
+ @Test func everySnippetHasALabelAndSymbol() {
+ for snippet in EditorSnippet.allCases {
+ #expect(!snippet.label.isEmpty)
+ #expect(!snippet.systemImage.isEmpty)
+ }
+ }
+}