From 78140a712ce8feac6fad2ae2c0043056f1a47fdc Mon Sep 17 00:00:00 2001 From: Michael Yang Date: Fri, 5 Jul 2024 16:52:01 -0700 Subject: [PATCH] cleanup tests --- envconfig/config_test.go | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/envconfig/config_test.go b/envconfig/config_test.go index 87c808ca..977298aa 100644 --- a/envconfig/config_test.go +++ b/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