From 5752c46116feea516d084d0d4d1ca1b814497054 Mon Sep 17 00:00:00 2001 From: Andrew Dixon Date: Sun, 14 Sep 2025 12:41:33 -0700 Subject: [PATCH 1/2] Fix typo in very specific spec. --- test/bootleg/config_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/bootleg/config_test.exs b/test/bootleg/config_test.exs index 3e0fdc2..57985d0 100644 --- a/test/bootleg/config_test.exs +++ b/test/bootleg/config_test.exs @@ -47,7 +47,7 @@ defmodule Bootleg.ConfigTest do assert capture_io(:stderr, fn -> use Bootleg.Config end) == - "\e[33mwarning: \e[0m`use Bootleg.Config` is deprecated; call `use Bootleg.DSL` instead.\n test/bootleg/config_test.exs:48: Bootleg.ConfigTest.\"test use Bootleg.Config warns about deprecation\"/1\n\n" + "\e[33mwarning:\e[0m `use Bootleg.Config` is deprecated; call `use Bootleg.DSL` instead.\n test/bootleg/config_test.exs:48: Bootleg.ConfigTest.\"test use Bootleg.Config warns about deprecation\"/1\n\n" end test "get_role/1", %{local_user: local_user} do From 30f1654f194664acab2b8b1f9aeaca542d6c829c Mon Sep 17 00:00:00 2001 From: Andrew Dixon Date: Sun, 14 Sep 2025 15:04:57 -0700 Subject: [PATCH 2/2] Make the test less specific. --- test/bootleg/config_test.exs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/bootleg/config_test.exs b/test/bootleg/config_test.exs index 57985d0..1ca94d3 100644 --- a/test/bootleg/config_test.exs +++ b/test/bootleg/config_test.exs @@ -46,8 +46,8 @@ defmodule Bootleg.ConfigTest do test "use Bootleg.Config warns about deprecation" do assert capture_io(:stderr, fn -> use Bootleg.Config - end) == - "\e[33mwarning:\e[0m `use Bootleg.Config` is deprecated; call `use Bootleg.DSL` instead.\n test/bootleg/config_test.exs:48: Bootleg.ConfigTest.\"test use Bootleg.Config warns about deprecation\"/1\n\n" + end) =~ + "`use Bootleg.Config` is deprecated; call `use Bootleg.DSL` instead." end test "get_role/1", %{local_user: local_user} do