summaryrefslogtreecommitdiff
path: root/src/tests/test_assets.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_assets.cc')
-rw-r--r--src/tests/test_assets.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_assets.cc b/src/tests/test_assets.cc
index 6f57d8f..7f26e71 100644
--- a/src/tests/test_assets.cc
+++ b/src/tests/test_assets.cc
@@ -16,7 +16,7 @@ int main() {
printf("Running AssetManager test...\n");
size_t size = 0;
- const uint8_t* data1 = GetAsset(AssetId::ASSET_TEST_ASSET, &size);
+ const uint8_t* data1 = GetAsset(AssetId::ASSET_TEST_ASSET_1, &size);
assert(data1 != nullptr);
assert(size > 0);
@@ -33,7 +33,7 @@ int main() {
// Test caching: request the same asset again and verify pointer is identical
size_t size2 = 0;
- const uint8_t* data2 = GetAsset(AssetId::ASSET_TEST_ASSET, &size2);
+ const uint8_t* data2 = GetAsset(AssetId::ASSET_TEST_ASSET_1, &size2);
assert(data2 != nullptr);
assert(size2 == size);
assert(data1 == data2); // Pointers should be the same for cached static asset