Add support for running commands (#33)

This commit is contained in:
Rajasekharan Vengalil 2022-08-08 19:55:47 +05:30 committed by GitHub
parent 35d40d3111
commit 821414d9cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 48 additions and 8 deletions

View file

@ -213,6 +213,9 @@ macro_rules! impl_sentences {
/// 2. the decoded sentence
///
/// ```
/// # #[macro_use] extern crate rups;
/// # fn main() {
/// # #[cfg(test)]
/// test_encode_decode!(
/// ["GET", "VAR", "nutdev", "test.var"] <=>
/// Sentences::QueryVar {
@ -220,6 +223,7 @@ macro_rules! impl_sentences {
/// var_name: "test.var".into(),
/// }
/// );
/// # }
/// ```
#[allow(unused_macros)]
macro_rules! test_encode_decode {