Index: webrtc/modules/audio_coding/neteq/dtmf_tone_generator_unittest.cc |
diff --git a/webrtc/modules/audio_coding/neteq/dtmf_tone_generator_unittest.cc b/webrtc/modules/audio_coding/neteq/dtmf_tone_generator_unittest.cc |
index ccd7fa606f117262af46195180d06ecc56820e0c..a55e6c90288625d04e39f0675de546ab5c54723c 100644 |
--- a/webrtc/modules/audio_coding/neteq/dtmf_tone_generator_unittest.cc |
+++ b/webrtc/modules/audio_coding/neteq/dtmf_tone_generator_unittest.cc |
@@ -171,8 +171,6 @@ TEST(DtmfToneGenerator, TestErrors) { |
// Initialize with valid parameters. |
ASSERT_EQ(0, tone_gen.Init(fs, event, attenuation)); |
EXPECT_TRUE(tone_gen.initialized()); |
- // Negative number of samples. |
- EXPECT_EQ(DtmfToneGenerator::kParameterError, tone_gen.Generate(-1, &signal)); |
// NULL pointer to destination. |
EXPECT_EQ(DtmfToneGenerator::kParameterError, |
tone_gen.Generate(kNumSamples, NULL)); |