# LibTmux.Testing.TestEnvironment.WithoutVariable

- **Module:** LibTmux.Testing.TestEnvironment
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Testing/TestEnvironment.cs#L53
- **Page:** https://libtmux.org/reference/dotnet/libtmux-testing-testenvironment-withoutvariable/

```
LibTmux.Testing.TestEnvironment.WithoutVariable(name: string) -> TestEnvironment
```

Answers a copy that removes one variable.

Removing is not the same as setting nothing: a variable set to the
empty string is still one tmux passes on.

## Parameters

- `name` (string) — The variable name.

## Returns

The copy.
