Skip to content

Commit

Permalink
Merge pull request #2407 from HTGAzureX1212/nightly
Browse files Browse the repository at this point in the history
Make Sample Config a Test Case
  • Loading branch information
HTGAzureX1212 authored Oct 11, 2024
2 parents 82e1aca + d0f034f commit 78f5d25
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ You should have received a copy of the GNU Affero General Public License along
with HarTex. If not, see <https://www.gnu.org/licenses/>.
]]

-- This file is a sample configuration for the per-guild configuration of HarTex.
-- This file is a sample configuration for the per-guild configuration of HarTex,
-- as well as a base test case for the configuration evaluator.
-- This sample may change as the data structures and manifest evolves.

return {
Expand Down Expand Up @@ -59,7 +60,7 @@ return {
-- The channel for the logger,
channel = "3943943943943943",
-- Array of events this logger listens for.
events = {"MESSAGE_UPDATE"},
events = {"MESSAGE_DELETE", "MESSAGE_UPDATE"},
-- Formatting of log messages sent for this logger.
-- Options: `pretty` (embeds), `default` (default when unspecified, just text)
format = "pretty"
Expand Down
2 changes: 2 additions & 0 deletions tools/testsuite/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ pub fn run_tests(config: Arc<Config>) -> bool {
#[allow(clippy::module_name_repetitions)]
#[allow(clippy::needless_pass_by_value)]
fn discover_tests(config: Arc<Config>, tests: &mut Vec<TestDescAndFn>) {
if config.confeval {}

if config.ui {
let search_dir = config.root.join("tests/ui");
let walkdir = WalkDir::new(search_dir)
Expand Down

0 comments on commit 78f5d25

Please sign in to comment.