浏览代码

cleanup tests

Michael Yang 10 月之前
父节点
当前提交
78140a712c
共有 1 个文件被更改,包括 0 次插入15 次删除
  1. 0 15
      envconfig/config_test.go

+ 0 - 15
envconfig/config_test.go

@@ -6,23 +6,8 @@ import (
 	"time"
 
 	"github.com/google/go-cmp/cmp"
-	"github.com/stretchr/testify/require"
 )
 
-func TestSmoke(t *testing.T) {
-	t.Setenv("OLLAMA_DEBUG", "")
-	require.False(t, Debug())
-
-	t.Setenv("OLLAMA_DEBUG", "false")
-	require.False(t, Debug())
-
-	t.Setenv("OLLAMA_DEBUG", "1")
-	require.True(t, Debug())
-
-	t.Setenv("OLLAMA_FLASH_ATTENTION", "1")
-	require.True(t, FlashAttention())
-}
-
 func TestHost(t *testing.T) {
 	cases := map[string]struct {
 		value  string