github.com/emcfarlane/larking@v0.0.0-20220605172417-1704b45ee6c3/starlib/starlarkruntimevar/runtimevar_test.go (about)

     1  // Copyright 2021 Edward McFarlane. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package starlarkruntimevar_test
     6  
     7  import (
     8  	"testing"
     9  
    10  	"github.com/emcfarlane/larking/starlib"
    11  	"go.starlark.net/starlark"
    12  
    13  	_ "gocloud.dev/runtimevar/constantvar"
    14  )
    15  
    16  func TestExecFile(t *testing.T) {
    17  	globals := starlark.StringDict{}
    18  	starlib.RunTests(t, "testdata/*_test.star", globals)
    19  }