MCPcopy Create free account
hub / github.com/exercism/cli / TestRustHasTrailingDashes

Function TestRustHasTrailingDashes

workspace/test_configurations_test.go:95–103  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

93}
94
95func TestRustHasTrailingDashes(t *testing.T) {
96 testConfig, ok := TestConfigurations["rust"]
97 assert.True(t, ok, "unexpectedly unable to find rust test config")
98
99 cmd, err := testConfig.GetTestCommand()
100 assert.NoError(t, err)
101
102 assert.True(t, strings.HasSuffix(cmd, "--"), "rust's test command should have trailing dashes")
103}
104
105func TestIdrisUsesExerciseSlug(t *testing.T) {
106 currentDir, err := os.Getwd()

Callers

nothing calls this directly

Calls 1

GetTestCommandMethod · 0.80

Tested by

no test coverage detected