Skip to content

docs: link worked examples from doc.go - #117

Merged
neverDefined merged 1 commit into
mainfrom
docs-link-examples
Apr 27, 2026
Merged

docs: link worked examples from doc.go#117
neverDefined merged 1 commit into
mainfrom
docs-link-examples

Conversation

@neverDefined

Copy link
Copy Markdown
Owner

Summary

Pure docs follow-up to Phase 6. Adds a "Worked Examples" pointer section to doc.go that names each narrated test with a one-line description, so pkg.go.dev readers can find the runnable templates.

Tests linked:

  • TestExampleActivateTestdummy (BIP9 ACTIVE path on Core)
  • TestExampleTimeoutWithoutLockin (BIP9 FAILED path via WarpTime)
  • TestExampleActivateBIP119 (Inquisition skip-when-missing template)
  • TestVariantDetection (Core/Inquisition smoke test)
  • TestExampleReorg (two-node fork resolution)

No code changes.

Test plan

  • make ai-check green.
  • go doc github.com/neverDefined/go-regtest shows the new section before "Soft-fork Testing".

🤖 Generated with Claude Code

Add a "Worked Examples" pointer section to doc.go that names each
narrated test with a one-line description so pkg.go.dev readers can find
the runnable templates. Mirrors how the existing Examples section
introduces each pattern with a snippet, but for tests that are too long
to inline.

Tests linked:
- TestExampleActivateTestdummy (BIP9 ACTIVE path on Core)
- TestExampleTimeoutWithoutLockin (BIP9 FAILED path via WarpTime)
- TestExampleActivateBIP119 (Inquisition skip-when-missing template)
- TestVariantDetection (Core/Inquisition smoke test)
- TestExampleReorg (two-node fork resolution)

No code changes; ai-check green.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@neverDefined
neverDefined merged commit 8b33c47 into main Apr 27, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant