Skip to content

Commit

Permalink
Rename tests folder to test
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed Jun 14, 2024
1 parent 36a7138 commit 51a4be1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# PackTest
PackTest allows you to write game tests in a data pack. Tests are `*.mcfunction` files in a `tests` folder. They can be used to test custom data packs.
PackTest allows you to write game tests in a data pack. Tests are `*.mcfunction` files in a `test` folder. They can be used to test custom data packs.

[![modrinth](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_vector.svg)](https://modrinth.com/mod/packtest)

## Example
**`data/example/tests/foo.mcfunction`**
**`data/example/test/foo.mcfunction`**
```mcfunction
#> Summons an armor stand and finds it
# @template example:small_platform
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

public class PackTestLibrary implements PreparableReloadListener {
public static final PackTestLibrary INSTANCE = new PackTestLibrary(2, new CommandDispatcher<>());
private static final FileToIdConverter LISTER = new FileToIdConverter("tests", ".mcfunction");
private static final FileToIdConverter LISTER = new FileToIdConverter("test", ".mcfunction");

private int permissionLevel;
private CommandDispatcher<CommandSourceStack> dispatcher;
Expand Down

0 comments on commit 51a4be1

Please sign in to comment.