| 1 | package slackscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/ |
| 2 | |
| 3 | import ( |
| 4 | "testingscip-go gomod github.com/golang/go/src go1.16 testing/" |
| 5 | |
| 6 | "github.com/stretchr/testify/assertscip-go gomod github.com/stretchr/testify v1.2.2 `github.com/stretchr/testify/assert`/" |
| 7 | ) |
| 8 | |
| 9 | func TestNewFileBlockscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/TestNewFileBlock().(t *testingscip-go gomod github.com/golang/go/src go1.16 testing/.Tscip-go gomod github.com/golang/go/src go1.16 testing/T#) { |
| 10 | fileBlock := NewFileBlockscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/NewFileBlock().("test", "external_id", "source") |
| 11 | assertscip-go gomod github.com/stretchr/testify v1.2.2 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.2.2 `github.com/stretchr/testify/assert`/Equal().(t, string(fileBlock.Typescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/FileBlock#Type.), "file") |
| 12 | assertscip-go gomod github.com/stretchr/testify v1.2.2 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.2.2 `github.com/stretchr/testify/assert`/Equal().(t, fileBlock.BlockIDscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/FileBlock#BlockID., "test") |
| 13 | assertscip-go gomod github.com/stretchr/testify v1.2.2 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.2.2 `github.com/stretchr/testify/assert`/Equal().(t, fileBlock.ExternalIDscip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/FileBlock#ExternalID., "external_id") |
| 14 | assertscip-go gomod github.com/stretchr/testify v1.2.2 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.2.2 `github.com/stretchr/testify/assert`/Equal().(t, fileBlock.Sourcescip-go gomod github.com/slack-go/slack . `github.com/slack-go/slack`/FileBlock#Source., "source") |
| 15 | } |