VerseGrammarTests: the shipped catalog holds eight starter verbs; combat exit asserts the Target cleared

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-16 20:54:47 +02:00
commit 4fc225b1d5
2 changed files with 3 additions and 2 deletions

View file

@ -656,6 +656,7 @@ public sealed class FlightTests : IDisposable
member.VisibleEnemies.Remove(hot);
Tick(.1f);
Assert.True(member.Target.Value.IsNone, "Target " + member.Target.Value.Entity);
Assert.IsType<FollowTask>(minion.Task);
UpdateUntil(minion, () => !(CurrentState(minion) is CombatState));
UpdateUntil(minion, () => CurrentState(minion) is FollowState);

View file

@ -301,12 +301,12 @@ public sealed class VerseGrammarTests : IDisposable
// The shipped catalog carries the command's output.
[Fact]
public void The_shipped_catalog_holds_revision_one_and_the_seven_starter_verbs()
public void The_shipped_catalog_holds_revision_one_and_the_eight_starter_verbs()
{
using var cache = OpenScoped(Path.Combine(AetherDb.FindRoot(), "GameData", "Aetheria.cc"), true);
Assert.Equal(1, cache.GetGlobal<VerseGrammar>().Revision);
var starter = VerseGrammarCommand.StarterVerbs();
Assert.Equal(7, starter.Length);
Assert.Equal(8, starter.Length);
var shipped = cache.GetAll<VerseVerb>().ToArray();
Assert.Equal(starter.Length, shipped.Length);
foreach (var expected in starter)