summary refs log tree commit diff
path: root/nixos/doc
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2020-08-03 16:51:30 +0200
committerGitHub <noreply@github.com>2020-08-03 16:51:30 +0200
commit76f2e271a2ef9de3734dcc9d366a42d6bfb18e82 (patch)
tree6da3fb86b0ce902d5669e8bd9b3066130f4eab4e /nixos/doc
parent5bd1fb288484b9e408b893f5659be0aa456d83be (diff)
parent446669cb5ef495e3173011c1557f4592595fc52e (diff)
downloadnixpkgs-76f2e271a2ef9de3734dcc9d366a42d6bfb18e82.tar
nixpkgs-76f2e271a2ef9de3734dcc9d366a42d6bfb18e82.tar.gz
nixpkgs-76f2e271a2ef9de3734dcc9d366a42d6bfb18e82.tar.bz2
nixpkgs-76f2e271a2ef9de3734dcc9d366a42d6bfb18e82.tar.lz
nixpkgs-76f2e271a2ef9de3734dcc9d366a42d6bfb18e82.tar.xz
nixpkgs-76f2e271a2ef9de3734dcc9d366a42d6bfb18e82.tar.zst
nixpkgs-76f2e271a2ef9de3734dcc9d366a42d6bfb18e82.zip
Merge pull request #94600 from liff/patch-1
nixos/manual: Fix reference to send_key
Diffstat (limited to 'nixos/doc')
-rw-r--r--nixos/doc/manual/development/writing-nixos-tests.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/doc/manual/development/writing-nixos-tests.xml b/nixos/doc/manual/development/writing-nixos-tests.xml
index d9dc3cd5e2a..74ab23605b3 100644
--- a/nixos/doc/manual/development/writing-nixos-tests.xml
+++ b/nixos/doc/manual/development/writing-nixos-tests.xml
@@ -216,12 +216,12 @@ start_all()
    </varlistentry>
    <varlistentry>
     <term>
-     <methodname>send_keys</methodname>
+     <methodname>send_key</methodname>
     </term>
     <listitem>
      <para>
       Simulate pressing keys on the virtual keyboard, e.g.,
-      <literal>send_keys("ctrl-alt-delete")</literal>.
+      <literal>send_key("ctrl-alt-delete")</literal>.
      </para>
     </listitem>
    </varlistentry>
@@ -232,7 +232,7 @@ start_all()
     <listitem>
      <para>
       Simulate typing a sequence of characters on the virtual keyboard, e.g.,
-      <literal>send_keys("foobar\n")</literal> will type the string
+      <literal>send_chars("foobar\n")</literal> will type the string
       <literal>foobar</literal> followed by the Enter key.
      </para>
     </listitem>