native macOS codings agent orchestrator
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove dumb tests

khoi 022d2b44 d6df5db8

-19
-19
supacodeTests/supacodeTests.swift
··· 15 15 // Write your test here and use APIs like `#expect(...)` to check expected conditions. 16 16 } 17 17 18 - @Test func worktreeNameGeneratorReturnsRemainingName() { 19 - let adjectives = WorktreeNameGenerator.adjectives 20 - let animals = WorktreeNameGenerator.animals 21 - let allNames = adjectives.flatMap { adj in animals.map { "\(adj)-\($0)" } } 22 - let expected = allNames.last! 23 - let excluded = Set(allNames.dropLast()) 24 - let name = WorktreeNameGenerator.nextName(excluding: excluded) 25 - #expect(name == expected) 26 - } 27 - 28 - @Test func worktreeNameGeneratorReturnsNilWhenExhausted() { 29 - let adjectives = WorktreeNameGenerator.adjectives 30 - let animals = WorktreeNameGenerator.animals 31 - let allNames = adjectives.flatMap { adj in animals.map { "\(adj)-\($0)" } } 32 - let excluded = Set(allNames) 33 - let name = WorktreeNameGenerator.nextName(excluding: excluded) 34 - #expect(name == nil) 35 - } 36 - 37 18 @Test func worktreeDirtCheckEmptyIsClean() { 38 19 #expect(WorktreeDirtCheck.isDirty(statusOutput: "") == false) 39 20 }