Skip to content

Commit 29ff77a

Browse files
committed
updated test case
1 parent 151e8da commit 29ff77a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/exec/describe_config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func TestDescribeConfig(t *testing.T) {
2424
},
2525
Settings: schema.AtmosSettings{
2626
Terminal: schema.Terminal{
27-
Pager: true,
27+
Pager: "less",
2828
},
2929
},
3030
}

pkg/schema/schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ type Terminal struct {
194194
SyntaxHighlighting SyntaxHighlighting `yaml:"syntax_highlighting" json:"syntax_highlighting" mapstructure:"syntax_highlighting"`
195195
}
196196

197-
func (t Terminal) IsPagerEnabled() bool {
197+
func (t *Terminal) IsPagerEnabled() bool {
198198
return t.Pager == "" || t.Pager == "on" || t.Pager == "less" || t.Pager == "true" || t.Pager == "yes" || t.Pager == "y" || t.Pager != "0"
199199
}
200200

0 commit comments

Comments
 (0)