From 2e5ce5aa960039a87775019793b74dd30af6bfd1 Mon Sep 17 00:00:00 2001 From: Mahmood Ali Date: Mon, 9 Nov 2020 16:24:22 -0500 Subject: [PATCH] clarify test --- jobspec2/parse_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jobspec2/parse_test.go b/jobspec2/parse_test.go index 71d26d8ef..d3d331450 100644 --- a/jobspec2/parse_test.go +++ b/jobspec2/parse_test.go @@ -203,7 +203,7 @@ locals { # literal local dc = "local_dc" # local that depends on a variable - region = "${var.region_var}.local" + region = "${var.region_var}.example" } job "example" { @@ -222,7 +222,7 @@ job "example" { require.Equal(t, []string{"local_dc"}, out.Datacenters) require.NotNil(t, out.Region) - require.Equal(t, "default_region.local", *out.Region) + require.Equal(t, "default_region.example", *out.Region) }) t.Run("set via -var argments", func(t *testing.T) { @@ -236,7 +236,7 @@ job "example" { require.Equal(t, []string{"local_dc"}, out.Datacenters) require.NotNil(t, out.Region) - require.Equal(t, "set_region.local", *out.Region) + require.Equal(t, "set_region.example", *out.Region) }) }