# LibTmux.Testing.TestEnvironment.WithoutVariable

- **Module:** LibTmux.Testing.TestEnvironment
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux.Testing/TestEnvironment.cs#L53
- **Page:** https://libtmux.org/en/dotnet/latest/reference/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.
