You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

CommandServiceConfigTests.Data.cs 992 B

1234567891011121314151617181920212223242526
  1. using Discord.Commands;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. namespace Discord.Net.Commands.Tests
  5. {
  6. partial class CommandServiceConfigTests
  7. {
  8. public static IEnumerable<object[]> SeparatorNodeTestData => _separatorNodeTestData;
  9. private static readonly IEnumerable<object[]> _separatorNodeTestData = new List<CommandServiceConfig>
  10. {
  11. new CommandServiceConfig{ SeparatorChar = ' '},
  12. new CommandServiceConfig{ SeparatorChar = '_'},
  13. new CommandServiceConfig{ SeparatorChar = '.'},
  14. new CommandServiceConfig{ SeparatorChar = '\u200b'},
  15. new CommandServiceConfig{ SeparatorChar = '"'}
  16. }.Select(x => new object[] { x, x.SeparatorChar });
  17. public static IEnumerable<string> DefaultAliases => _defaultAliases;
  18. private static readonly IEnumerable<string> _defaultAliases = new List<string>
  19. {
  20. "debug ping",
  21. "debug pong"
  22. };
  23. }
  24. }