mirror of
https://github.com/prosolis/gogobee.git
synced 2026-07-16 08:52:42 +00:00
Adv 2.0 L4f: render/twinbee reader-port off AdvCharacter to dndLevelForUser
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -254,11 +254,7 @@ func TestRenderCraftingTeaser_BracketBoundaries(t *testing.T) {
|
||||
}
|
||||
for _, tc := range cases {
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
char := &AdventureCharacter{
|
||||
ForagingSkill: tc.foraging,
|
||||
CraftsSucceeded: tc.craftsSucceeded,
|
||||
}
|
||||
got := renderCraftingTeaser(char)
|
||||
got := craftingTeaserText(tc.foraging, tc.craftsSucceeded, "")
|
||||
if tc.wantEmpty {
|
||||
if got != "" {
|
||||
t.Errorf("expected empty, got %q", got)
|
||||
|
||||
Reference in New Issue
Block a user