-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: ExampleNamespacedMerkleTree (#203)
Previously the function `ExampleNamespacedMerkleTree` existed in nmt_test.go. AFAIK Go only runs unit tests for functions with the name `Test*` so I wouldn't expect `ExampleNamespacedMerkleTree` to run by the Go test runner. But it is run and fails [here](https://github.com/celestiaorg/nmt/actions/runs/5092193098/jobs/9153228914?pr=202#step:7:551). This PR converts the example into a test. Defer to @staheri14 if it should be deleted instead.
- Loading branch information
Showing
1 changed file
with
17 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters