# LibTmux.Testing.TestEnvironment.WithoutVariable

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