params_test.gno
0.47 Kb ยท 17 lines
1package params
2
3import (
4 "testing"
5)
6
7// Testing this package is limited because it only contains an `std.Set` method
8// without a corresponding `std.Get` method. For comprehensive testing, refer to
9// the tests located in the r/gov/dao/ directory, specifically in one of the
10// propX_filetest.gno files.
11
12func TestNewStringPropRequest(t *testing.T) {
13 pr := NewSysParamStringPropRequest("foo", "bar", "baz", "qux")
14 if pr.Title() == "" {
15 t.Errorf("executor shouldn't be nil")
16 }
17}