From 801233ecf2753d106c72c26ce8cdb217951a8b93 Mon Sep 17 00:00:00 2001 From: SX <50966843+S-S-X@users.noreply.github.com> Date: Fri, 15 Oct 2021 17:03:01 +0300 Subject: [PATCH] Fix Minetest config files for Mineunit (#15) --- README.md | 1 + spec/fixtures/{minetest.cfg => minetest.conf} | 0 spec/fixtures/{minetest_noop.cfg => minetest_noop.conf} | 0 spec/noop_spec.lua | 2 +- 4 files changed, 2 insertions(+), 1 deletion(-) rename spec/fixtures/{minetest.cfg => minetest.conf} (100%) rename spec/fixtures/{minetest_noop.cfg => minetest_noop.conf} (100%) diff --git a/README.md b/README.md index 92f1fe9..0061381 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ ![luacheck](https://github.com/S-S-X/qos/workflows/luacheck/badge.svg) ![mineunit](https://github.com/S-S-X/qos/workflows/mineunit/badge.svg) ![coverage](https://mineunit-badges.000webhostapp.com/S-S-X/qos/coverage) +[![ContentDB](https://content.minetest.net/packages/-SX-/qos/shields/downloads/)](https://content.minetest.net/packages/-SX-/qos/) ## Minetest HTTP API QoS control queue diff --git a/spec/fixtures/minetest.cfg b/spec/fixtures/minetest.conf similarity index 100% rename from spec/fixtures/minetest.cfg rename to spec/fixtures/minetest.conf diff --git a/spec/fixtures/minetest_noop.cfg b/spec/fixtures/minetest_noop.conf similarity index 100% rename from spec/fixtures/minetest_noop.cfg rename to spec/fixtures/minetest_noop.conf diff --git a/spec/noop_spec.lua b/spec/noop_spec.lua index 20bc43d..8507a82 100644 --- a/spec/noop_spec.lua +++ b/spec/noop_spec.lua @@ -9,7 +9,7 @@ describe("Mod noop initialization", function() setup(function() -- Replace configuration file core_settings = core_settings or core.settings - core.settings = Settings("minetest_noop.cfg") + core.settings = Settings("minetest_noop.conf") end) teardown(function()